Problem onlineexam
User Soysauce
Submission Time 2024-03-02 09:18:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

onlineexam.cpp: In function ‘int main()’:
onlineexam.cpp:16:9: error: ‘cin’ was not declared in this scope
16 | cin >> N;
| ^~~
onlineexam.cpp:4:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
3 | #include <vector>
+++ |+#include <iostream>
4 | using namespace std;