Borderou de evaluare (job #3215176)

Utilizator radu20gg easy radu20 Data 14 martie 2024 18:35:59
Problema Suma si numarul divizorilor Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void gen_ciur()': main.cpp:20:28: warning: comparison of integer expressions of different signedness: 'int' and 'const long long unsigned int' [-Wsign-compare] 20 | for(int j=2;i*j<=MAX;++j) | ~~~^~~~~ main.cpp:22:18: warning: comparison of integer expressions of different signedness: 'int' and 'const long long unsigned int' [-Wsign-compare] 22 | for(int i=2;i<=MAX;++i) | ~^~~~~ main.cpp: In function 'void solve(int)': main.cpp:37:9: warning: unused variable 'nr' [-Wunused-variable] 37 | int nr=0; | ^~ main.cpp: In function 'void gen_ciur()': main.cpp:23:18: warning: iteration 999998 invokes undefined behavior [-Waggressive-loop-optimizations] 23 | if(ciur[i]==0)prime[ind++]=i; | ~~~~~~^ main.cpp:22:18: note: within this loop 22 | for(int i=2;i<=MAX;++i) | ~^~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
19ms1724kbKilled by Signal 1100
29ms1724kbKilled by Signal 1100
39ms1720kbKilled by Signal 1100
49ms1724kbKilled by Signal 1100
57ms1720kbKilled by Signal 1100
69ms1724kbKilled by Signal 800
79ms1753kbKilled by Signal 1100
89ms1724kbKilled by Signal 800
99ms1728kbKilled by Signal 80
109ms1728kbKilled by Signal 80
Punctaj total0

Ceva nu functioneaza?