Problem puttingstrings
User PaNic
Submission Time 2024-01-26 21:25:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

puttingstrings.cpp: In function ‘int main()’:
puttingstrings.cpp:20:3: error: expected initializer before ‘scanf’
20 | scanf("%d%d%d", &l, &r, &x); --l;
| ^~~~~
puttingstrings.cpp:21:15: error: ‘x’ was not declared in this scope
21 | join(l, r + x * (n + 1));
| ^