Borderou de evaluare (job #1274570)

Utilizator NicusorTelescu Nicolae Nicusor Data 23 noiembrie 2014 23:38:16
Problema Sudest Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:23: warning: unused variable ‘numar’ [-Wunused-variable] int a,b,nr_pasi=0,numar=1001; ^ user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sudest.in","r",stdin); ^ user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sudest.out","w",stdout); ^ user.cpp:15:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ",&n); ^ user.cpp:18:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (int j=1;j<=n;j++) scanf("%d ",&drum[i][j]); ^ user.cpp:21:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ",&k); ^ user.cpp:24:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ",&miscari[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms328kbOKAY!10
216msDepăşitMemory limit exceeded.0
38msDepăşitMemory limit exceeded.0
44msDepăşitMemory limit exceeded.0
54msDepăşitMemory limit exceeded.0
68msDepăşitMemory limit exceeded.0
78msDepăşitMemory limit exceeded.0
88msDepăşitMemory limit exceeded.0
98msDepăşitMemory limit exceeded.0
100ms308kbOKAY!10
Punctaj total20

Ceva nu functioneaza?