Pagini recente » Borderou de evaluare (job #114370) | Borderou de evaluare (job #660515) | Borderou de evaluare (job #1442344) | Borderou de evaluare (job #1600612) | Borderou de evaluare (job #2682885)
Borderou de evaluare (job #2682885)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:50: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:51: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:53: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:58: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 | 2ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 9ms | 131kb | OK | 10 |
4 | 78ms | 524kb | OK | 10 |
5 | 630ms | 2613kb | OK | 10 |
6 | 1000ms | 2613kb | Time limit exceeded | 0 |
7 | 936ms | 2613kb | OK | 10 |
8 | 1003ms | 2613kb | Time limit exceeded | 0 |
9 | 879ms | 2650kb | OK | 10 |
10 | 989ms | 2613kb | OK | 10 |
Punctaj total | 80 |