Borderou de evaluare (job #2261589)

Utilizator AlexPop28Pop Alex-Nicolae AlexPop28 Data 16 octombrie 2018 13:52:11
Problema Intrus Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

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
145ms17825kbOK5
238ms17563kbOK5
349ms18219kbOK5
450ms18481kbOK5
562ms21495kbOK5
6178ms21495kbOK5
770ms19005kbOK5
870ms19267kbOK5
999ms20054kbOK5
10137ms19660kbOK5
11287ms23592kbOK5
12376ms24903kbOK5
13241ms21626kbOK5
1485ms22151kbOK5
15141ms22413kbOK5
1650ms22151kbOK5
17201ms22806kbOK5
18215ms21889kbOK5
19217ms22413kbOK5
20241ms23199kbOK5
Punctaj total100

Ceva nu functioneaza?