Problem | lis_easy |
---|---|
User | 13ikaeel |
Submission Time | 2023-12-02 21:58:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:3:10: error: ‘cin’ is not a member of ‘std’
3 | std::cin>>N;
| ^~~
lis_easy.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | int main(){
lis_easy.cpp:5:10: error: ‘vector’ is not a member of ‘std’
5 | std::vector<int> arr;
| ^~~~~~
lis_easy.cpp:1:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
+++ |+#include <vector>
1 | int main(){
lis_easy.cpp:5:17: error: expected primary-expression before ‘int’
5 | std::vector<int> arr;
| ^~~
lis_easy.cpp:7:14: error: ‘cin’ is not a member of ‘std’
7 | std::cin>>temp;
| ^~~
lis_easy.cpp:7:14: note: ‘std::cin’ is defined in header ‘<io