Problem jewels
User nycoder
Submission Time 2024-11-11 15:29:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

jewels.cpp: In function ‘int main()’:
jewels.cpp:10:3: error: expected initializer before ‘cin’
10 | cin >> a;
| ^~~
jewels.cpp:13:13: error: ‘a’ was not declared in this scope
13 | if (k-1 <= a <= k+1){
| ^