Pagini recente » Borderou de evaluare (job #1909516) | Borderou de evaluare (job #1283811) | Borderou de evaluare (job #2893517) | Borderou de evaluare (job #1396140) | Borderou de evaluare (job #1146808)
Borderou de evaluare (job #1146808)
Raport evaluator
Compilare:
user.cpp: In function ‘bool Ok(int)’:
user.cpp:63:23: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
v1=(((1LL*((v1-(1LL*(a[i-L]-'0')*aux1)&(P1-1))+P1)&(P1-1))*X+a[i]-'0')&(P1-1));
^
user.cpp:64:23: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
v2=(((1LL*((v2-(1LL*(a[i-L]-'0')*aux2)&(P2-1))+P2)&(P2-1))*Y+a[i]-'0')&(P2-1));
^
user.cpp:78:24: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
v1=((((1LL*((v1-(1LL*(a[i-L]-'0')*aux1)&(P1-1))+P1))&(P1-1))*X+a[i]-'0')&(P1-1));
^
user.cpp:79:24: warning: suggest parentheses around ‘-’ in operand of ‘&’ [-Wparentheses]
v2=((((1LL*((v2-(1LL*(a[i-L]-'0')*aux2)&(P2-1))+P2))&(P2-1))*Y+a[i]-'0')&(P2-1));
^
user.cpp: In function ‘int main()’:
user.cpp:104:24: warning: ‘sol’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d\n", sol);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 12ms | 2504kb | Incorect | 0 |
2 | Depăşit | 4912kb | Time limit exceeded. | 0 |
3 | Depăşit | 4976kb | Time limit exceeded. | 0 |
4 | 24ms | 2864kb | Incorect | 0 |
5 | Depăşit | 2824kb | Time limit exceeded. | 0 |
6 | Depăşit | 2828kb | Time limit exceeded. | 0 |
7 | 4ms | 2156kb | Incorect | 0 |
8 | 16ms | 2272kb | OK | 10 |
9 | 12ms | 2304kb | Incorect | 0 |
10 | Depăşit | 2400kb | Time limit exceeded. | 0 |
Punctaj total | 10 |