Ar pirminis?

Taškai: 95.5

Compile: OK

ar_pirminis.cpp: In function ‘int main()’: ar_pirminis.cpp:13:56: warning: iteration 10000000u invokes undefined behavior [-Waggressive-loop-optimizations] for(int i = 1; i <= 10000001; i++) pirminiai[i] = 0; ^ ar_pirminis.cpp:13:22: note: containing loop for(int i = 1; i <= 10000001; i++) pirminiai[i] = 0; ^

nr.resulttimemessage
1True0.552 sok
2True0.532 sok
3True0.524 sok
4True0.572 sok
5True0.432 sok
6True0.552 sok
7True0.4 sok
8True0.4 sok
9True0.404 sok
10True0.404 sok
11True0.704 sok
12True0.716 sok
13True0.696 sok
14True0.548 sok
15True0.624 sok
16True0.7 sok
17True0.764 sok
18True0.588 sok
19True0.84 sok
20True0.692 sok
21True0.804 sok
22False1.084 sTime limit exceeded (wall clock)