Pagini recente » Borderou de evaluare (job #1620906) | Borderou de evaluare (job #2389315) | Borderou de evaluare (job #717859) | Borderou de evaluare (job #2048817) | Borderou de evaluare (job #2728295)
Borderou de evaluare (job #2728295)
Raport evaluator
Compilare:
main.cpp: In function 'int main(int, char**)':
main.cpp:17:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("aparitii.in", "r", stdin);
^
main.cpp:18:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("aparitii.out", "w", stdout);
^
main.cpp:20: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:21:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
FOR(i, n) scanf("%d", a+i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 10 | 100 |
2 | 2ms | 131kb | OK | 10 |
3 | 594ms | 4194kb | OK | 10 |
4 | 534ms | 4161kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 428ms | 3407kb | OK | 10 |
7 | 551ms | 4063kb | OK | 10 |
8 | 464ms | 4055kb | OK | 10 |
9 | 438ms | 4063kb | OK | 10 |
10 | 446ms | 3919kb | OK | 10 |
Punctaj total | 100 |