Borderou de evaluare (job #1574535)

Utilizator mihai.constantinConstantin Mihai mihai.constantin Data 20 ianuarie 2016 17:41:15
Problema Taxe2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:32:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] for(j = 1; j <= N; j++) scanf("%d", &A[i][j]); ^ user.cpp:23:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("taxe2.in", "r", stdin); ^ user.cpp:24:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("taxe2.out", "w", stdout); ^ user.cpp:29:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &S, &N); ^ user.cpp:32:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(j = 1; j <= N; j++) scanf("%d", &A[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms460kbOK10
20ms468kbOK10
30ms452kbOK10
40ms464kbOK10
50ms464kbOK10
60ms460kbIncorect0
74msDepăşitMemory limit exceeded.0
80ms596kbOK10
98msDepăşitMemory limit exceeded.0
108msDepăşitMemory limit exceeded.0
Punctaj total60

Ceva nu functioneaza?