Pagini recente » Borderou de evaluare (job #1691345) | Borderou de evaluare (job #3273006) | Borderou de evaluare (job #704696) | Borderou de evaluare (job #3396) | Borderou de evaluare (job #3191122)
Borderou de evaluare (job #3191122)
Raport evaluator
Compilare:
main.cpp: In function 'void nextLine(int, int)':
main.cpp:22:18: warning: iteration 25 invokes undefined behavior [-Waggressive-loop-optimizations]
22 | comb[2][i]%=MOD;
| ~~~~~~~~~^
main.cpp:16:19: note: within this loop
16 | for(int i=1; i<=26; i++)
| ~^~~~
main.cpp:28:25: warning: iteration 25 invokes undefined behavior [-Waggressive-loop-optimizations]
28 | nr[1][i]=nr[2][i];
| ~~~~~~~^
main.cpp:26:19: note: within this loop
26 | for(int i=1; i<=26; i++)
| ~^~~~
main.cpp:20:25: warning: iteration 25 invokes undefined behavior [-Waggressive-loop-optimizations]
20 | if(comb[i][j]==false) nr[2][i]+=nr[1][j];
| ~~~~~~~~~^
main.cpp:18:23: note: within this loop
18 | for(int j=1; j<=26; j++)
| ~^~~~
main.cpp: In function 'int main()':
main.cpp:49:38: warning: iteration 25 invokes undefined behavior [-Waggressive-loop-optimizations]
49 | for(int i=1; i<=26; i++) nr[1][i]=1;
| ~~~~~~~~^~
main.cpp:49:19: note: within this loop
49 | for(int i=1; i<=26; i++) nr[1][i]=1;
| ~^~~~
main.cpp:54:40: warning: iteration 25 invokes undefined behavior [-Waggressive-loop-optimizations]
54 | for(int i=1; i<=26; i++) s+=nr[1][i];
| ~~~~~~~^
main.cpp:54:19: note: within this loop
54 | for(int i=1; i<=26; i++) s+=nr[1][i];
| ~^~~~
main.cpp: In function 'void nextLine(int, int)':
main.cpp:28:17: warning: 'void* __builtin_memcpy(void*, const void*, long unsigned int)' forming offset [312, 315] is out of the bounds [0, 312] of object 'nr' with type 'int [3][26]' [-Warray-bounds]
28 | nr[1][i]=nr[2][i];
| ~~~~~~~~^~~~~~~~~
main.cpp:10:5: note: 'nr' declared here
10 | int nr[3][26];
| ^~
main.cpp:29:17: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [312, 315] is out of the bounds [0, 312] of object 'nr' with type 'int [3][26]' [-Warray-bounds]
29 | nr[2][i]=0;
| ~~~~~~~~^~
main.cpp:10:5: note: 'nr' declared here
10 | int nr[3][26];
| ^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | OK | 5 |
2 | 0ms | 303kb | OK | 5 |
3 | 0ms | 303kb | OK | 5 |
4 | 0ms | 303kb | OK | 5 |
5 | 0ms | 303kb | OK | 5 |
6 | 0ms | 303kb | OK | 5 |
7 | 0ms | 303kb | Incorect | 0 |
8 | 0ms | 303kb | Incorect | 0 |
9 | 0ms | 303kb | Incorect | 0 |
10 | 0ms | 303kb | Incorect | 0 |
11 | 0ms | 303kb | Incorect | 0 |
12 | 0ms | 303kb | Incorect | 0 |
13 | 0ms | 303kb | Incorect | 0 |
14 | 0ms | 303kb | Incorect | 0 |
15 | 0ms | 303kb | Incorect | 0 |
16 | 0ms | 303kb | Incorect | 0 |
17 | 0ms | 303kb | Incorect | 0 |
18 | 0ms | 303kb | Incorect | 0 |
19 | 0ms | 303kb | Incorect | 0 |
20 | 0ms | 303kb | OK | 5 |
Punctaj total | 35 |