Problem spreadsheet
User AliLam
Submission Time 2025-06-19 13:46:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

spreadsheet.cpp: In function ‘int main()’:
spreadsheet.cpp:2:2: error: ‘ios_base’ has not been declared
2 | ios_base::sync_with_stdio(0);
| ^~~~~~~~
spreadsheet.cpp:3:2: error: ‘cin’ was not declared in this scope
3 | cin.tie(0);
| ^~~
spreadsheet.cpp:6:16: error: ‘abs’ was not declared in this scope; did you mean ‘ans’?
6 | long long C = abs(K);
| ^~~
| ans
spreadsheet.cpp:20:3: error: ‘cout’ was not declared in this scope
20 | cout << ans;
| ^~~~
spreadsheet.cpp:23:3: error: ‘cout’ was not declared in this scope
23 | cout << "-1";
| ^~~~