Pagini recente » Borderou de evaluare (job #2170228) | Borderou de evaluare (job #2155449) | Borderou de evaluare (job #2068294) | Borderou de evaluare (job #1054552) | Borderou de evaluare (job #2739998)
Borderou de evaluare (job #2739998)
Raport evaluator
Compilare:
main.cpp:3:129: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
using namespace std;ifstream f("reteta2.in");ofstream g("reteta2.out");char s[1002],*c,*p,l[]=" ()";int t;map<string,int>h;main(){f.get(s,1002);c=q(s,l);while(c){if(*c>'/'&&*c<':')t+=atoi(c);else{p=q(0,l);h[c]+=atoi(p);}c=q(0,l);}g<<t<<endl;for(auto i:h)g<<i.first<<" "<<i.second<<endl;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 3ms | 131kb | OK! | 10 |
2 | 3ms | 131kb | OK! | 10 |
3 | 3ms | 131kb | OK! | 10 |
4 | 3ms | 131kb | OK! | 10 |
5 | 3ms | 131kb | OK! | 10 |
6 | 4ms | 131kb | OK! | 10 |
7 | 3ms | 131kb | OK! | 10 |
8 | 3ms | 131kb | OK! | 10 |
9 | 3ms | 131kb | OK! | 10 |
10 | 3ms | 131kb | OK! | 10 |
Punctaj total | 100 |