Problem add1
User nzx
Submission Time 2025-11-20 11:35:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

add1.cpp: In function ‘int main()’:
add1.cpp:7:14: error: expected primary-expression before ‘%’ token
7 | ll n; scanf(%d, n);
| ^
add1.cpp:7:15: error: ‘d’ was not declared in this scope
7 | ll n; scanf(%d, n);
| ^
add1.cpp:8:9: error: expected primary-expression before ‘%’ token
8 | printf(%d, n+1);
| ^