Pagini recente » Cod sursa (job #830203) | Borderou de evaluare (job #154966) | Cod sursa (job #60281) | Borderou de evaluare (job #1980010) | Borderou de evaluare (job #1681688)
Borderou de evaluare (job #1681688)
Raport evaluator
Compilare:
user.cpp: In function ‘void Fill()’:
user.cpp:15:36: warning: operation on ‘q’ may be undefined [-Wsequence-point]
l[++q]=l[q-1]+dx[k];c[q]=c[q-1]+dy[k];
^
user.cpp: In function ‘int main()’:
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("tsunami.in", "r", stdin);
^
user.cpp:25:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tsunami.out", "w", stdout);
^
user.cpp:26:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd%hd%hd", &n, &m, &v);
^
user.cpp:29:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%hd", &a[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 320kb | OK | 10 |
| 2 | 0ms | 436kb | OK | 10 |
| 3 | 228ms | 13264kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 8ms | 600kb | OK | 10 |
| 5 | 48ms | 1300kb | OK | 10 |
| 6 | 204ms | 3080kb | OK | 10 |
| 7 | 220ms | 3380kb | OK | 10 |
| 8 | 60ms | 1792kb | OK | 10 |
| 9 | 188ms | 2820kb | OK | 10 |
| 10 | 224ms | 13188kb | OK | 10 |
| Punctaj total | 90 |