Pagini recente » Borderou de evaluare (job #1824545) | Borderou de evaluare (job #2586562) | Borderou de evaluare (job #1161352) | Borderou de evaluare (job #1995829) | Borderou de evaluare (job #1496381)
Borderou de evaluare (job #1496381)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:21:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("knumere.in", "r", stdin);
^
user.cpp:22:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &k);
^
user.cpp:28:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
user.cpp: In function ‘void write()’:
user.cpp:39:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("knumere.out", "w", stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Incorect | 0 |
2 | 0ms | 268kb | OK | 10 |
3 | 0ms | 268kb | OK | 10 |
4 | 0ms | 272kb | OK | 10 |
5 | 4ms | 348kb | OK | 10 |
6 | 40ms | 1052kb | OK | 10 |
7 | 20ms | 656kb | OK | 10 |
8 | 264ms | 4180kb | OK | 10 |
9 | Depăşit | 6412kb | Time limit exceeded. | 0 |
10 | Depăşit | 6464kb | Time limit exceeded. | 0 |
Punctaj total | 70 |