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

Compile Error

conductslip.cpp: In function ‘int main()’:
conductslip.cpp:78:30: error: ‘a’ was not declared in this scope
78 | for(long unsigned int i=(ll)a; i<=(ll)b; i++){
| ^
conductslip.cpp:78:40: error: ‘b’ was not declared in this scope
78 | for(long unsigned int i=(ll)a; i<=(ll)b; i++){
| ^
conductslip.cpp:85:33: error: invalid types ‘ll {aka long long int}[long unsigned int]’ for array subscript
85 | happy-=S[(unsigned long int)i];
| ^