Borderou de evaluare (job #2832205)

Utilizator puica2018Puica Andrei puica2018 Data 13 ianuarie 2022 10:24:49
Problema Pairs Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:29:18: warning: iteration 999999 invokes undefined behavior [-Waggressive-loop-optimizations] 29 | mobius[i]=1; | ~~~~~~~~~^~ main.cpp:28:19: note: within this loop 28 | for(int i=1; i<=m; i++) | ~^~~ main.cpp:45:20: warning: iteration 999999 invokes undefined behavior [-Waggressive-loop-optimizations] 45 | if(mobius[i]==0) | ~~~~~~~~^ main.cpp:43:19: note: within this loop 43 | for(int i=1; i<=m; i++) | ~^~~ main.cpp:54:22: warning: iteration 999998 invokes undefined behavior [-Waggressive-loop-optimizations] 54 | ans+=mobius[i]*cnt[i]; | ~~~~~~~~^ main.cpp:53:19: note: within this loop 53 | for(int i=2; i<=m; i++) | ~^~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
1351ms12419kbTime limit exceeded00
2225ms12537kbOK10
3346ms12431kbOK1020
4245ms12537kbOK10
5350ms12419kbTime limit exceeded00
6253ms12537kbOK10
7286ms12480kbOK1010
8249ms12537kbOK1010
9253ms12537kbOK1010
10297ms12480kbOK1010
Punctaj total60

Ceva nu functioneaza?