Problem addictiontoworry
User ryangohca
Submission Time 2024-12-15 14:23:34
Score 0
Max Time N/A
Max Memory N/A

Compile Error

In file included from /usr/include/c++/9/cassert:44,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:33,
from addictiontoworry.cpp:2:
addictiontoworry.cpp: In function ‘int main()’:
addictiontoworry.cpp:41:10: error: ‘a’ was not declared in this scope
41 | assert(a == i + 1 && b == i + 2);
| ^
addictiontoworry.cpp:41:24: error: ‘b’ was not declared in this scope
41 | assert(a == i + 1 && b == i + 2);
| ^