Pagini recente » Cod sursa (job #2503003) | Borderou de evaluare (job #2248054) | Monitorul de evaluare | Borderou de evaluare (job #505316) | Borderou de evaluare (job #2371843)
Borderou de evaluare (job #2371843)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:7:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("zigzag2.in", "r", stdin);
^
main.cpp:8:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("zigzag2.out", "w", stdout);
^
main.cpp:10:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
main.cpp:11:51: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n; ++i) scanf("%d", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | OK | 5 |
| 3 | 3ms | 131kb | OK | 5 |
| 4 | 3ms | 131kb | OK | 5 |
| 5 | 157ms | 4587kb | Incorect | 0 |
| 6 | 160ms | 4587kb | Incorect | 0 |
| 7 | 143ms | 4587kb | Incorect | 0 |
| 8 | 170ms | 4718kb | Incorect | 0 |
| 9 | 247ms | 7733kb | Incorect | 0 |
| 10 | 284ms | 7864kb | Incorect | 0 |
| 11 | 363ms | 10092kb | Incorect | 0 |
| 12 | 335ms | 9699kb | Incorect | 0 |
| 13 | 324ms | 10092kb | Incorect | 0 |
| 14 | 356ms | 9830kb | Incorect | 0 |
| 15 | 351ms | 9830kb | Incorect | 0 |
| 16 | 348ms | 9961kb | Incorect | 0 |
| 17 | 338ms | 9961kb | Incorect | 0 |
| 18 | 353ms | 10092kb | Incorect | 0 |
| 19 | 2ms | 131kb | OK | 5 |
| 20 | 2ms | 131kb | OK | 5 |
| Punctaj total | 30 |