Pagini recente » Borderou de evaluare (job #2565112) | Borderou de evaluare (job #134427) | Borderou de evaluare (job #723185) | Borderou de evaluare (job #916744) | Borderou de evaluare (job #2682887)
Borderou de evaluare (job #2682887)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:51:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("nrsec.in", "r", stdin);
^
main.cpp:52:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("nrsec.out", "w", stdout);
^
main.cpp:54:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%lld", &n, &k);
^
main.cpp:59:47: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &a[i]), a[i] += a[i - 1];
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 3ms | 131kb | OK | 10 |
| 2 | 3ms | 131kb | OK | 10 |
| 3 | 8ms | 131kb | OK | 10 |
| 4 | 74ms | 524kb | OK | 10 |
| 5 | 680ms | 2609kb | OK | 10 |
| 6 | 1001ms | 2609kb | Time limit exceeded | 0 |
| 7 | 949ms | 2609kb | OK | 10 |
| 8 | 787ms | 2609kb | OK | 10 |
| 9 | 799ms | 2609kb | OK | 10 |
| 10 | 1003ms | 2609kb | Time limit exceeded | 0 |
| Punctaj total | 80 |