Problem | skips |
---|---|
User | WangZhenxuan |
Submission Time | 2025-06-17 00:03:37 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
skips.cpp: In function ‘int main()’:
skips.cpp:21:5: error: ‘cin’ was not declared in this scope
21 | cin >> N >> D;
| ^~~
skips.cpp:3:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
2 | #include <algorithm>
+++ |+#include <iostream>
3 | using namespace std;
skips.cpp:31:5: error: ‘cout’ was not declared in this scope
31 | cout << maxBlock << endl;
| ^~~~
skips.cpp:31:5: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
skips.cpp:31:25: error: ‘endl’ was not declared in this scope
31 | cout << maxBlock << endl;
| ^~~~
skips.cpp:3:1: note: ‘std::endl’ is defined in header ‘<ostream>’; did you forget to ‘#include <ostream>’?
2 | #include <algorithm>
+++ |+#include <ostre