Borderou de evaluare (job #1520759)

Utilizator valen.valentinValentin Valeanu valen.valentin Data 9 noiembrie 2015 13:10:29
Problema RangeMode Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:42:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int b=0;b<g[j].size();b++) ^ user.cpp:19:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rangemode.in","r",stdin); ^ user.cpp:20:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rangemode.out","w",stdout); ^ user.cpp:21:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&m); leng=trunc(sqrt(n)); ^ user.cpp:24:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] j++; scanf("%d",&x); mp[x]++; t[i]=x; ^ user.cpp:38:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&x,&y); mp.clear(); ok=true; ^ user.cpp:51:16: warning: ‘mx’ may be used uninitialized in this function [-Wmaybe-uninitialized] int maxx=0,mx; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1120ms1488kbOK1010
21000ms1588kbOK1010
3Depăşit1768kbTime limit exceeded.00
4Depăşit1944kbTime limit exceeded.0
5Depăşit2520kbTime limit exceeded.0
6Depăşit2208kbTime limit exceeded.00
7Depăşit3020kbTime limit exceeded.0
8Depăşit2384kbTime limit exceeded.0
9Depăşit2500kbTime limit exceeded.0
10Depăşit2500kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?