Dažniausias skaičius

Taškai: 0

Compile: OK

dazniausias_sk.cpp: In function ‘void buildST()’: dazniausias_sk.cpp:34:34: warning: iteration 20100u invokes undefined behavior [-Waggressive-loop-optimizations] FOR(i, 0, A+A) st[i][0] = e[i]-s[i]+1; ^ dazniausias_sk.cpp:6:41: note: containing loop #define FOR(i, a, b) for(int i = (a); i <= (b); i++) ^ dazniausias_sk.cpp:34:5: note: in expansion of macro ‘FOR’ FOR(i, 0, A+A) st[i][0] = e[i]-s[i]+1; ^ dazniausias_sk.cpp: In function ‘int main()’: dazniausias_sk.cpp:54:33: warning: iteration 20100u invokes undefined behavior [-Waggressive-loop-optimizations] FOR(i, 0, A+A) e[i] = -1; ^ dazniausias_sk.cpp:6:41: note: containing loop #define FOR(i, a, b) for(int i = (a); i <= (b); i++) ^ dazniausias_sk.cpp:54:9: note: in expansion of macro ‘FOR’ FOR(i, 0, A+A) e[i] = -1; ^ dazniausias_sk.cpp:53:32: warning: iteration 20100u invokes undefined behavior [-Waggressive-loop-optimizations] FOR(i, 0, A+A) s[i] = 0; ^ dazniausias_sk.cpp:6:41: note: containing loop #define FOR(i, a, b) for(int i = (a); i <= (b); i++) ^ dazniausias_sk.cpp:53:9: note: in expansion of macro ‘FOR’ FOR(i, 0, A+A) s[i] = 0; ^

nr.resulttimemessage
1False0.004 sTime limit exceeded (wall clock)
2False0.004 sCaught fatal signal 11
3False0.004 sCaught fatal signal 11
4False0.004 sCaught fatal signal 11
5False0.004 sCaught fatal signal 11
6False0.004 sCaught fatal signal 11
7False0.004 sCaught fatal signal 11
8False0.004 sCaught fatal signal 11
9False0.004 sCaught fatal signal 11
10False0.004 sCaught fatal signal 11
11False0.004 sCaught fatal signal 11
12False0.004 sCaught fatal signal 11
13False0.004 sCaught fatal signal 11
14False0.004 sCaught fatal signal 11
15False0.004 sCaught fatal signal 11
16False0.004 sCaught fatal signal 11
17False0.004 sCaught fatal signal 11
18False0.004 sCaught fatal signal 11
19False0.008 sCaught fatal signal 11
20False0.004 sCaught fatal signal 11
21False0.008 sCaught fatal signal 11
22False0.004 sCaught fatal signal 11
23False0.004 sCaught fatal signal 11
24False0.004 sCaught fatal signal 11
25False0.008 sCaught fatal signal 11
26False0.004 sCaught fatal signal 11
27False0.004 sCaught fatal signal 11
28False0.004 sCaught fatal signal 11
29False0.004 sCaught fatal signal 11
30False0.004 sCaught fatal signal 11
31False0.004 sCaught fatal signal 11