Borderou de evaluare (job #2600890)

Utilizator alex_benescubenescu alexandru alex_benescu Data 13 aprilie 2020 13:56:04
Problema Invsc Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated] #import<fstream> ^~~~~~ main.cpp:3:89: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] std::ifstream f("invsc.in");std::ofstream g("invsc.out");int n,i,r[1<<18],v[1<<18];main(){f>>n;t(n)f>>v[i],r[v[i]]++;t(n)r[i]+=r[i-1];t(n)g<<r[v[i]]--<<'\n';} ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbTine-o tot asa!10
22ms131kbTine-o tot asa!10
32ms131kbTine-o tot asa!10
42ms131kbTine-o tot asa!10
53ms131kbTine-o tot asa!10
67ms262kbTine-o tot asa!10
718ms524kbTine-o tot asa!10
838ms1441kbTine-o tot asa!10
968ms2097kbTine-o tot asa!10
10109ms3014kbTine-o tot asa!10
Punctaj total100

Ceva nu functioneaza?