Pagini recente » Monitorul de evaluare | Cod sursa (job #1977331) | Borderou de evaluare (job #913959) | veverite | Borderou de evaluare (job #1399924)
Borderou de evaluare (job #1399924)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:83:50: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen((fileInput + ".in").c_str(), "r", stdin);
^
user.cpp:84:52: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen((fileInput + ".out").c_str(), "w", stdout);
^
user.cpp:144:16: warning: ‘bestk’ may be used uninitialized in this function [-Wmaybe-uninitialized]
ansk = bestk;
^
user.cpp:140:68: warning: ‘bestj’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (valLeft + valRight > ansVal || (valLeft + valRight == ansVal && bestj < ansj)) {
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 400kb | OK | 10 |
| 2 | 0ms | 408kb | OK | 10 |
| 3 | 0ms | 412kb | OK | 10 |
| 4 | 0ms | 408kb | Incorect | 0 |
| 5 | 0ms | 404kb | Incorect | 0 |
| 6 | 44ms | 440kb | OK | 10 |
| 7 | 84ms | 456kb | OK | 10 |
| 8 | 120ms | 460kb | OK | 10 |
| 9 | 124ms | 460kb | OK | 10 |
| 10 | 128ms | 464kb | OK | 10 |
| Punctaj total | 80 |