Borderou de evaluare (job #1215269)

Utilizator lianaliana tucar liana Data 31 iulie 2014 21:01:06
Problema Pizza Status done
Runda Infoarena Monthly 2014 - Runda 7 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:24:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&v[i]); ^ user.cpp: In function ‘int main()’: user.cpp:37:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&n); ^ user.cpp:49:22: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld",drez); ^ user.cpp: In function ‘void citire()’: user.cpp:24:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&v[i]); ^ user.cpp: In function ‘int main()’: user.cpp:35:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pizza.in","r",stdin); ^ user.cpp:36:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("pizza.out","w",stdout); ^ user.cpp:37:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms336kbOK100
20ms1124kbOK10
30ms1108kbOK10
412msDepăşitMemory limit exceeded.0
548msDepăşitMemory limit exceeded.0
648msDepăşitMemory limit exceeded.0
748msDepăşitMemory limit exceeded.0
820msDepăşitMemory limit exceeded.0
90ms260kbKilled by signal 11(SIGSEGV).0
100ms264kbKilled by signal 11(SIGSEGV).0
Penalizare 60 (pentru 121.1 minute)-60
Punctaj total0

Ceva nu functioneaza?