Pagini recente » Borderou de evaluare (job #1306661) | Borderou de evaluare (job #577363) | Borderou de evaluare (job #1232321) | Borderou de evaluare (job #637263) | Borderou de evaluare (job #2832205)
Borderou de evaluare (job #2832205)
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 |
1 | 351ms | 12419kb | Time limit exceeded | 0 | 0 |
2 | 225ms | 12537kb | OK | 10 |
3 | 346ms | 12431kb | OK | 10 | 20 |
4 | 245ms | 12537kb | OK | 10 |
5 | 350ms | 12419kb | Time limit exceeded | 0 | 0 |
6 | 253ms | 12537kb | OK | 10 |
7 | 286ms | 12480kb | OK | 10 | 10 |
8 | 249ms | 12537kb | OK | 10 | 10 |
9 | 253ms | 12537kb | OK | 10 | 10 |
10 | 297ms | 12480kb | OK | 10 | 10 |
Punctaj total | 60 |