hessam94's blog

By hessam94, history, 17 months ago, In English

Hello guys,

please take a look at this two submissions, developed on Visual Studio 2019 C++, both code are exactly same:
1- GNU 17 2- MSC++ 17

So I have two questions:
1- what is the difference between these two compilers in terms of memory, at least here.
2- why this amount of memory? I checked inside my code to see how much is taken , it is not that much shown on my submissions. for test case #13 which i get MemLimit, there is only 1 * 1000000 vector. ok, so my vector<queue< int >> is nothing but 4M byte, it should never reach to 256MB ?? I always submitted to GNU because of faster time, never had memory issue.

Could you help me to learn this part.

Thanks
Hessam

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it