Pagini recente » Borderou de evaluare (job #1530037) | Monitorul de evaluare | Diferente pentru utilizator/vanila_cpp intre reviziile 25 si 24 | Cod sursa (job #1572011) | Borderou de evaluare (job #1851151)
Borderou de evaluare (job #1851151)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:10: warning: unused variable ‘ok’ [-Wunused-variable]
bool ok = false;
^
user.cpp:7:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxk.in","r",stdin);
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxk.out","w",stdout);
^
user.cpp:9:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &k);
^
user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 468kb | OK | 10 |
| 2 | 0ms | 468kb | OK | 10 |
| 3 | Depăşit | 428kb | Time limit exceeded. | 0 |
| 4 | 272ms | 4352kb | OK | 10 |
| 5 | 16ms | 652kb | OK | 10 |
| 6 | 20ms | 700kb | OK | 10 |
| 7 | 20ms | 708kb | OK | 10 |
| 8 | 16ms | 660kb | OK | 10 |
| 9 | 20ms | 684kb | OK | 10 |
| 10 | 272ms | 4352kb | OK | 10 |
| Punctaj total | 90 |