ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Common Board

Give me an answer.
Posted by nana 15 Sep 2005 03:49
Why this solution need 140Kb?

#include <iostream.h>
int main(){
int a, b;
cin>>a>>b;
cout<<a+b;
}
Re: Give me an answer.
Posted by Burunduk1 15 Sep 2005 22:32
Compiler uses some memory.
Not a compiler, but your program, i.e. executed process. They use something like GetProcessMemoryInfo() (-)
Posted by Dmitry 'Diman_YES' Kovalioff. Retired 15 Sep 2005 23:31
Re: Not a compiler, but your program, i.e. executed process. They use something like GetProcessMemoryInfo() (-)
Posted by ACM.Anatoliy 'Tolyan_NO' Tolstobroff 16 Sep 2005 01:57
Re: Not a compiler, but your program, i.e. executed process. They use something like GetProcessMemoryInfo() (-)
Posted by nana 16 Sep 2005 02:17
But why other C++ solutions need only 30 KB?
Re: Not a compiler, but your program, i.e. executed process. They use something like GetProcessMemoryInfo() (-)
Posted by nana 20 Sep 2005 20:35
:(
Re: Not a compiler, but your program, i.e. executed process. They use something like GetProcessMemoryInfo() (-)
Posted by nana 22 Sep 2005 02:49