Problem WA1
User ZivTheONe
Submission Time 2024-05-24 22:27:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

WA1.cpp:26:11: error: expected ‘;’ at end of member declaration
26 | unsigned ll N, A, B, res = 0, curr;
| ^~
| ;
WA1.cpp:26:14: error: ‘N’ does not name a type
26 | unsigned ll N, A, B, res = 0, curr;
| ^
WA1.cpp: In member function ‘char Solution::WA1()’:
WA1.cpp:28:10: error: ‘N’ was not declared in this scope
28 | cin >> N;
| ^
WA1.cpp:30:11: error: ‘A’ was not declared in this scope
30 | cin >> A >> B;
| ^
WA1.cpp:30:16: error: ‘B’ was not declared in this scope
30 | cin >> A >> B;
| ^
WA1.cpp:31:4: error: ‘curr’ was not declared in this scope
31 | curr = ((A << 32) | (B));
| ^~~~
WA1.cpp:32:4: error: ‘res’ was not declared in this scope
32 | res ^= curr;
| ^~~
WA1.cpp:34:7: error: ‘res’ was not declared in this scope