Borderou de evaluare (job #1574541)

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

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
10ms448kbOK10
20ms452kbOK10
30ms452kbOK10
40ms468kbOK10
50ms452kbOK10
60ms444kbOK10
74msDepăşitMemory limit exceeded.0
80ms588kbOK10
98msDepăşitMemory limit exceeded.0
104msDepăşitMemory limit exceeded.0
Punctaj total70

Ceva nu functioneaza?