Problem spreadsheet
User LimCheeHann
Submission Time 2026-05-04 22:53:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

spreadsheet.cpp:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
1 | #inclue <iostream>
| ^~~~~~
| include
spreadsheet.cpp: In function ‘int main()’:
spreadsheet.cpp:5:2: error: ‘cin’ was not declared in this scope
5 | cin >> N >> P >> K;
| ^~~
spreadsheet.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #inclue <iostream>
spreadsheet.cpp:10:3: error: ‘cout’ was not declared in this scope
10 | cout << 0;
| ^~~~
spreadsheet.cpp:10:3: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
spreadsheet.cpp:13:3: error: ‘cout’ was not declared in this scope
13 | cout << -1;
| ^~~~
spreadsheet.cpp:13:3: note: ‘std::cout’ is defined in header ‘<iostream>’;