Pagini recente » Borderou de evaluare (job #2844629) | Borderou de evaluare (job #413924) | Borderou de evaluare (job #147313) | Borderou de evaluare (job #371185) | Borderou de evaluare (job #2579852)
Borderou de evaluare (job #2579852)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:27:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d", ans);
^
main.cpp:12:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lss.in", "r", stdin);
^
main.cpp:13:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lss.out", "w", stdout);
^
main.cpp:15:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &K, &P);
^
main.cpp:17: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 | 3ms | 131kb | OK | 10 |
2 | 3ms | 131kb | OK | 10 |
3 | 3ms | 131kb | OK | 10 |
4 | 3ms | 131kb | OK | 10 |
5 | 67ms | 524kb | OK | 10 |
6 | 53ms | 524kb | OK | 10 |
7 | 52ms | 524kb | Incorect | 0 |
8 | 68ms | 524kb | Incorect | 0 |
9 | 67ms | 524kb | OK | 10 |
10 | 67ms | 524kb | OK | 10 |
Punctaj total | 80 |