Pagini recente » Borderou de evaluare (job #2956060) | Borderou de evaluare (job #230226) | Borderou de evaluare (job #1266315) | Borderou de evaluare (job #2121582) | Borderou de evaluare (job #2579065)
Borderou de evaluare (job #2579065)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:51:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d", sol);
^
main.cpp:38:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sume2.in", "r", stdin);
^
main.cpp:39:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sume2.out", "w", stdout);
^
main.cpp:42: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:44:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 8ms | 131kb | OK | 10 |
5 | 20ms | 262kb | OK | 10 |
6 | 27ms | 262kb | OK | 10 |
7 | 34ms | 262kb | OK | 10 |
8 | 32ms | 262kb | Incorect | 0 |
9 | 32ms | 262kb | Incorect | 0 |
10 | 32ms | 262kb | Incorect | 0 |
Punctaj total | 70 |