Borderou de evaluare (job #1593496)

Utilizator alex2kamebossPuscasu Alexandru alex2kameboss Data 8 februarie 2016 17:31:33
Problema Numere 5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:25:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(nr[i]==0 && nr[i-1]!=0 || nr[i]==0 && nr[i+1]!=0) ^ user.cpp:32:25: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(nr[i]==0 && nr[i-1]!=0 || nr[i]==0 && nr[i+1]!=0) ^ user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numere5.in","r",stdin); ^ user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("numere5.out","w",stdout); ^ user.cpp:10:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d\n", &n); ^ user.cpp:15:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &data); ^ user.cpp:18:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d/n", &data); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
164ms620kbOK100
20ms436kbOK10
376msDepăşitMemory limit exceeded.0
444ms576kbOK10
5104msDepăşitMemory limit exceeded.0
6108ms464kbWall time limit exceeded.00
7124msDepăşitMemory limit exceeded.0
8128msDepăşitMemory limit exceeded.0
9104ms424kbWall time limit exceeded.0
10128ms672kbWall time limit exceeded.0
Punctaj total0

Ceva nu functioneaza?