Borderou de evaluare (job #1587996)

Utilizator lflorin29Florin Laiu lflorin29 Data 2 februarie 2016 18:29:49
Problema Sudest Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:21:34: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘char*’ [-Wformat=] scanf("%hd", &A[i][j]); ^ user.cpp:24:31: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘char*’ [-Wformat=] scanf("%hd", &steps[i]); ^ user.cpp:17:37: 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:18:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &N); ^ user.cpp:21:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &A[i][j]); ^ user.cpp:22:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &K); ^ user.cpp:24:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &steps[i]); ^ user.cpp: In function ‘void solve()’: user.cpp:71:33: 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); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms388kbOKAY!10
20ms388kbOKAY!10
30ms384kbOKAY!10
40ms388kbOKAY!10
50ms392kbOKAY!10
60ms388kbOKAY!10
70ms392kbOKAY!10
80ms392kbOKAY!10
94ms384kbOKAY!10
100ms384kbOKAY!10
Punctaj total100

Ceva nu functioneaza?