Borderou de evaluare (job #1588000)

Utilizator lflorin29Florin Laiu lflorin29 Data 2 februarie 2016 18:37:28
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:18:34: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘char*’ [-Wformat=] scanf("%hd", &A[i][j]); ^ user.cpp:21:31: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 2 has type ‘char*’ [-Wformat=] scanf("%hd", &steps[i]); ^ user.cpp:14: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:15:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &N); ^ user.cpp:18: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:19:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd", &K); ^ user.cpp:21: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:68: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
10ms560kbOKAY!10
20ms564kbOKAY!10
30ms568kbOKAY!10
40ms568kbOKAY!10
50ms568kbOKAY!10
60ms564kbOKAY!10
70ms568kbOKAY!10
80ms572kbOKAY!10
94ms568kbOKAY!10
100ms560kbOKAY!10
Punctaj total100

Ceva nu functioneaza?