Pagini recente » Borderou de evaluare (job #2961365) | Borderou de evaluare (job #870405) | Borderou de evaluare (job #1720432) | Borderou de evaluare (job #724994) | Borderou de evaluare (job #2412849)
Borderou de evaluare (job #2412849)
Raport evaluator
Compilare:
main.cpp: In function 'Suspect getData(int, int, int, int, int, int)':
main.cpp:53:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:92: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:93: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:97:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &cer);
^
main.cpp:98:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d %d", &n, &m, &d);
^
main.cpp:103:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &a[i][j]);
^
main.cpp: In function 'void sieve()':
main.cpp:32:19: warning: iteration 499999 invokes undefined behavior [-Waggressive-loop-optimizations]
if (comp[i]) continue;
~~~~~~^
main.cpp:31:23: note: within this loop
for (int i = 3; i <= VMAX; i += 2) {
~~^~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 49ms | 17563kb | OK | 5 |
2 | 50ms | 17825kb | OK | 5 |
3 | 58ms | 17956kb | OK | 5 |
4 | 59ms | 18219kb | OK | 5 |
5 | 73ms | 21102kb | OK | 5 |
6 | 201ms | 21495kb | OK | 5 |
7 | 77ms | 18743kb | OK | 5 |
8 | 83ms | 19005kb | OK | 5 |
9 | 115ms | 19660kb | OK | 5 |
10 | 161ms | 19267kb | OK | 5 |
11 | 309ms | 23330kb | OK | 5 |
12 | 387ms | 24903kb | OK | 5 |
13 | 256ms | 21626kb | OK | 5 |
14 | 100ms | 21757kb | OK | 5 |
15 | 172ms | 22151kb | OK | 5 |
16 | 60ms | 22151kb | OK | 5 |
17 | 221ms | 22544kb | OK | 5 |
18 | 243ms | 21626kb | OK | 5 |
19 | 238ms | 22020kb | OK | 5 |
20 | 241ms | 23199kb | OK | 5 |
Punctaj total | 100 |