Dvyniai pirminiai

Taškai: 0

Compile: OK

dvyniai.cpp: In function ‘int main()’: dvyniai.cpp:26:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dvyniai.in", "r", stdin); ^ dvyniai.cpp:27:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dvyniai.out", "w", stdout); ^ dvyniai.cpp:21:26: warning: iteration 3333333u invokes undefined behavior [-Waggressive-loop-optimizations] return (isPrime[6*n-1] && isPrime[6*n+1]); ^ dvyniai.cpp:32:22: note: containing loop for(long i = 1; i<20000000; i++){ ^

nr.resulttimemessage
1False0.276 sCaught fatal signal 11
2False0.284 sCaught fatal signal 11
3False0.408 sCaught fatal signal 11
4False0.312 sCaught fatal signal 11
5False0.272 sCaught fatal signal 11
6False0.3 sCaught fatal signal 11
7False0.256 sCaught fatal signal 11
8False0.264 sCaught fatal signal 11
9False0.316 sCaught fatal signal 11
10False0.384 sCaught fatal signal 11