Pagini recente » Cod sursa (job #1753550) | Monitorul de evaluare | Borderou de evaluare (job #1757499) | Borderou de evaluare (job #2421857) | Borderou de evaluare (job #2261586)
Borderou de evaluare (job #2261586)
Raport evaluator
Compilare:
main.cpp: In member function 'Suspect Suspect::operator=(const Suspect&)':
main.cpp:24:5: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:91:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("intrus.in", "r", stdin);
^
main.cpp:92:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("intrus.out", "w", stdout);
^
main.cpp: In function 'void sieve()':
main.cpp:38:19: warning: iteration 500001 invokes undefined behavior [-Waggressive-loop-optimizations]
if (comp[i]) continue;
~~~~~~^
main.cpp:37:23: note: within this loop
for (int i = 3; i <= VMAX; i += 2) {
~~^~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 43ms | 17825kb | Incorect | 0 |
| 2 | 41ms | 17956kb | Incorect | 0 |
| 3 | 56ms | 18350kb | Incorect | 0 |
| 4 | 56ms | 18481kb | OK | 5 |
| 5 | 70ms | 21364kb | OK | 5 |
| 6 | 295ms | 21495kb | OK | 5 |
| 7 | 80ms | 19005kb | Incorect | 0 |
| 8 | 90ms | 19267kb | Incorect | 0 |
| 9 | 148ms | 20054kb | OK | 5 |
| 10 | 226ms | 19660kb | Incorect | 0 |
| 11 | 462ms | 23592kb | OK | 5 |
| 12 | 500ms | 24510kb | Time limit exceeded | 0 |
| 13 | 401ms | 21626kb | OK | 5 |
| 14 | 117ms | 22151kb | OK | 5 |
| 15 | 225ms | 22413kb | OK | 5 |
| 16 | 55ms | 22413kb | OK | 5 |
| 17 | 306ms | 22806kb | OK | 5 |
| 18 | 362ms | 21889kb | Incorect | 0 |
| 19 | 335ms | 22413kb | OK | 5 |
| 20 | 368ms | 23199kb | OK | 5 |
| Punctaj total | 60 |