Problem sana
User JustKitkat
Submission Time 2024-12-30 16:28:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sana.cpp: In function ‘void solve(long long int)’:
sana.cpp:69:51: error: expected ‘;’ before ‘if’
69 | if((n+a[1]+a.back())%256 == 5 and (n+a[1])%256==4
| ^
| ;
70 | if((n+a[1]+a.back())%256 == 13 and (n+a[1])%256==7
| ~~
sana.cpp:76:2: error: expected primary-expression before ‘if’
76 | if(n==1 or *max_element(all(a))>=n){
| ^~
sana.cpp:74:68: error: expected ‘)’ before ‘if’
74 | or (n+a[1]+a.back())%256 == 19 and (n+a[1])%256==66){no();return;}
| ^
| )
75 |
76 | if(n==1 or *max_element(all(a))>=n){
| ~~
sana.cpp:69:4: