Problem skips
User popperoni
Submission Time 2025-06-17 00:01:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

skips.cpp: In function ‘int main()’:
skips.cpp:9:4: error: ‘ios_base’ has not been declared
9 | ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
| ^~~~~~~~
skips.cpp:9:34: error: ‘cin’ was not declared in this scope
9 | ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
| ^~~
skips.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | // Source: https://usaco.guide/gener#include<bits/stdc++.h>
skips.cpp:9:46: error: ‘cout’ was not declared in this scope
9 | ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
| ^~~~
skips.cpp:9:46: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
skips.cpp:11:28: error: ‘vector’ was not declared in this scope
11 |