Borderou de evaluare (job #1520714)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:35:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int b=0;b<g[j].size();b++) { ^ user.cpp:13: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:14: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:15: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:18: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:32: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; int maxx=0,mx; ^ user.cpp:32:59: warning: ‘mx’ may be used uninitialized in this function [-Wmaybe-uninitialized] scanf("%d %d",&x,&y); mp.clear(); ok=true; int maxx=0,mx; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1480ms1456kbOK1010
2Depăşit1556kbTime limit exceeded.00
3Depăşit1736kbTime limit exceeded.00
4Depăşit1916kbTime limit exceeded.0
5Depăşit2732kbTime limit exceeded.0
6Depăşit2172kbTime limit exceeded.00
7Depăşit3088kbTime limit exceeded.0
8Depăşit2356kbTime limit exceeded.0
9Depăşit2472kbTime limit exceeded.0
10Depăşit2472kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?