Borderou de evaluare (job #1294307)

Utilizator ade_tomiEnache Adelina ade_tomi Data 17 decembrie 2014 11:35:43
Problema Ciuperci Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int query(long long int)’: user.cpp:21:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<v[x].size();i++) ^ user.cpp: In function ‘int main()’: user.cpp:53:33: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%lld\n",query(x)); ^ user.cpp:45:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ciuperci.in","r",stdin); ^ user.cpp:46:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ciuperci.out","w",stdout); ^ user.cpp:47:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&n); ^ user.cpp:50:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lld",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms268kbOK1010
20ms280kbOK1010
30ms404kbOK1010
460msDepăşitMemory limit exceeded.00
564msDepăşitMemory limit exceeded.00
660msDepăşitMemory limit exceeded.00
760msDepăşitMemory limit exceeded.0
860msDepăşitMemory limit exceeded.0
964msDepăşitMemory limit exceeded.0
1060msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?