Problem aratherinterestingtube
User yuanbin
Submission Time 2026-10-03 09:59:24
Score 0
Max Time N/A
Max Memory N/A

Compile Error

aratherinterestingtube.cpp: In function ‘int main()’:
aratherinterestingtube.cpp:6:2: error: ‘cin’ was not declared in this scope
6 | cin>>q;
| ^~~
aratherinterestingtube.cpp:2:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
1 | #include <deque>
+++ |+#include <iostream>
2 | using namespace std;
aratherinterestingtube.cpp:24:3: error: ‘cout’ was not declared in this scope
24 | cout<<thing<<' ';
| ^~~~
aratherinterestingtube.cpp:24:3: note: ‘std::cout’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?