Pagini recente » Borderou de evaluare (job #2567108) | Borderou de evaluare (job #1632933) | Borderou de evaluare (job #1236937) | Borderou de evaluare (job #153944) | Borderou de evaluare (job #2330501)
Borderou de evaluare (job #2330501)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:24:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("prim.in","r",stdin) ;
^
main.cpp:25:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("prim.out","w",stdout) ;
^
main.cpp:27:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n) ;
^
main.cpp: In function 'void sieve()':
main.cpp:13:19: warning: iteration 1399999 invokes undefined behavior [-Waggressive-loop-optimizations]
if (ciur[i] == 0){
~~~~~~^
main.cpp:12:20: note: within this loop
for (i = 2 ; i <= NMAX ; ++ i){
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 110ms | 6160kb | OK | 10 |
| 2 | 111ms | 6160kb | OK | 10 |
| 3 | 110ms | 6160kb | OK | 10 |
| 4 | 116ms | 6160kb | OK | 10 |
| 5 | 107ms | 6291kb | OK | 10 |
| 6 | 108ms | 6291kb | OK | 10 |
| 7 | 107ms | 6160kb | OK | 10 |
| 8 | 110ms | 6160kb | OK | 10 |
| 9 | 110ms | 6160kb | OK | 10 |
| 10 | 110ms | 6160kb | OK | 10 |
| Punctaj total | 100 |