Pagini recente » Cod sursa (job #2929331) | Borderou de evaluare (job #1227391) | Borderou de evaluare (job #1029760) | Borderou de evaluare (job #2688704) | Borderou de evaluare (job #2668135)
Borderou de evaluare (job #2668135)
Raport evaluator
Compilare:
main.cpp:7:1: warning: 'typedef' was ignored in this declaration
typedef struct coada
^~~~~~~
main.cpp: In function 'void read()':
main.cpp:27:34: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'short int*' [-Wformat=]
scanf("%d ", &a[i][j]);
^
main.cpp:21:61: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d %d\n", &n, &m, &xi, &yi, &xf, &yf);
^
main.cpp:27:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &a[i][j]);
^
main.cpp:31:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
main.cpp: In function 'int main()':
main.cpp:118:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("padure.in", "r", stdin);
^
main.cpp:119:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("padure.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 524kb | OK | 10 |
| 2 | 3ms | 524kb | OK | 10 |
| 3 | 5ms | 786kb | OK | 10 |
| 4 | 10ms | 1048kb | OK | 10 |
| 5 | 14ms | 1064kb | OK | 10 |
| 6 | 33ms | 2228kb | OK | 10 |
| 7 | 107ms | 3407kb | OK | 10 |
| 8 | 246ms | 4849kb | OK | 10 |
| 9 | 399ms | 6553kb | OK | 10 |
| 10 | 317ms | 6553kb | OK | 10 |
| Punctaj total | 100 |