|
|
back to boardabout memory limit(Virtual address space RULEZ) #include<iostream> #include<algorithm> #include <iomanip> using namespace std; int cc[0x0FFFFFFF]; int main() { cc[0x0FFFFFF]=13; int a,b; cin>>a>>b; cout<<a+b; return 0; } 0x0FFFFFFF -256M Re: about memory limit(Virtual address space RULEZ) Posted by strider 23 Feb 2009 10:38 Maybe optimizer throws out your array? If to do cin >> cc[0x0ffffffd] >> cc[0x0ffffffe]; cout << cc[0x0ffffffd] + cc[0x0ffffffe]; ? |
|
|