Borderou de evaluare (job #2758110)

Utilizator mihnea_buzoiuMihnea Buzoiu mihnea_buzoiu Data 8 iunie 2021 17:36:18
Problema Ciurul lui Eratosthenes Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main(int, const char**)': main.cpp:19:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("ciur.in", "r", stdin); ^ main.cpp:20:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("ciur.out", "w", stdout); ^ main.cpp:23:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:26:14: warning: iteration 2000001 invokes undefined behavior [-Waggressive-loop-optimizations] v[i] = true; ~~~~~^~~~~~ main.cpp:25:20: note: within this loop for (int i=0; i<=IMAX; i++) ~^~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
1101ms2097kbTime limit exceeded0
2101ms2097kbTime limit exceeded0
3101ms2097kbTime limit exceeded0
4101ms2097kbTime limit exceeded0
5100ms2097kbTime limit exceeded0
6101ms2097kbTime limit exceeded0
7101ms2097kbTime limit exceeded0
8100ms2097kbTime limit exceeded0
9101ms2097kbTime limit exceeded0
10101ms2097kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?