Borderou de evaluare (job #2739789)

Utilizator bubblegumixUdrea Robert bubblegumix Data 9 aprilie 2021 23:05:17
Problema Reteta2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp:3:119: 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;int t;map<string,int>h;main(){f.getline(s,1002);c=q(s," ()");while(c){if(*c>'/'&&*c<':')t+=atoi(c);else{p=q(0," ()");h[c]+=atoi(p);}c=q(0," ()");}g<<t<<endl;for(auto i:h)g<<i.first<<" "<<i.second<<endl;} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK!10
22ms131kbOK!10
33ms131kbOK!10
42ms131kbOK!10
52ms131kbOK!10
63ms131kbOK!10
73ms131kbOK!10
83ms131kbOK!10
93ms131kbOK!10
103ms131kbOK!10
Punctaj total100

Ceva nu functioneaza?