Problem conductslip
User asbx
Submission Time 2024-01-02 07:26:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

conductslip.cpp:22:1: error: expected ‘,’ or ‘;’ before ‘const’
22 | const ll mod1=(const ll)((119<<23)+1)
| ^~~~~
conductslip.cpp: In function ‘int main()’:
conductslip.cpp:43:5: error: ‘fastscan’ was not declared in this scope
43 | fastscan(c);
| ^~~~~~~~
conductslip.cpp:76:25: error: ‘LLINF’ was not declared in this scope
76 | ll maxhappy=(ll)((-1)*(LLINF));
| ^~~~~
conductslip.cpp:85:14: error: invalid types ‘ll {aka long long int}[ll {aka long long int}]’ for array subscript
85 | happy-=S[i];
| ^