| Problem | spreadsheet |
|---|---|
| User | chenweilian |
| Submission Time | 2026-07-10 11:29:56 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
spreadsheet.cpp:1:2: error: invalid preprocessing directive #includ; did you mean #include?
1 | #includ e<bits/stdc++.h>
| ^~~~~~
| include
spreadsheet.cpp: In function ‘int main()’:
spreadsheet.cpp:6:2: error: ‘cin’ was not declared in this scope
6 | 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 | #includ e<bits/stdc++.h>
spreadsheet.cpp:7:18: error: ‘abs’ was not declared in this scope; did you mean ‘ans’?
7 | long long ans = abs(k) / p;
| ^~~
| ans
spreadsheet.cpp:8:2: error: ‘cotu’ was not declared in this scope
8 | cotu<<(ans > n ? -1 : ans);
| ^~~~