Problem addk
User Xiaoyang
Submission Time 2023-01-04 14:29:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

addk.cpp:23:11: error: variable or field ‘scan’ declared void
23 | void scan(itn &x)
| ^~~
addk.cpp:23:11: error: ‘itn’ was not declared in this scope; did you mean ‘int’?
23 | void scan(itn &x)
| ^~~
| int
addk.cpp:23:16: error: ‘x’ was not declared in this scope
23 | void scan(itn &x)
| ^
addk.cpp: In function ‘int main()’:
addk.cpp:39:2: error: ‘scan’ was not declared in this scope; did you mean ‘scanf’?
39 | scan(n);scan(k);
| ^~~~
| scanf