Pagini recente » Borderou de evaluare (job #269729) | Borderou de evaluare (job #2370891) | Borderou de evaluare (job #1507248) | Borderou de evaluare (job #2174832) | Borderou de evaluare (job #1587996)
Borderou de evaluare (job #1587996)
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 |
1 | 0ms | 388kb | OKAY! | 10 |
2 | 0ms | 388kb | OKAY! | 10 |
3 | 0ms | 384kb | OKAY! | 10 |
4 | 0ms | 388kb | OKAY! | 10 |
5 | 0ms | 392kb | OKAY! | 10 |
6 | 0ms | 388kb | OKAY! | 10 |
7 | 0ms | 392kb | OKAY! | 10 |
8 | 0ms | 392kb | OKAY! | 10 |
9 | 4ms | 384kb | OKAY! | 10 |
10 | 0ms | 384kb | OKAY! | 10 |
Punctaj total | 100 |