Problem raptorinc
User Pranav
Submission Time 2024-12-07 09:21:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

raptorinc.cpp:1:2: error: invalid preprocessing directive #inlcude; did you mean #include?
1 | #inlcude <bits/stdc++.h>
| ^~~~~~~
| include
raptorinc.cpp: In function ‘int main()’:
raptorinc.cpp:8:2: error: ‘vector’ was not declared in this scope
8 | vector <int> v;
| ^~~~~~
raptorinc.cpp:1:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
+++ |+#include <vector>
1 | #inlcude <bits/stdc++.h>
raptorinc.cpp:8:10: error: expected primary-expression before ‘int’
8 | vector <int> v;
| ^~~
raptorinc.cpp:9:2: error: ‘cin’ was not declared in this scope
9 | cin>>n>>x;
| ^~~
raptorinc.cpp:1:1: note: ‘std::cin’ is defined in header ‘<iostream>’; did you forget to ‘#include <iostream>’?
+++ |+#include <iostream>
1 | #inlcude <bits/stdc++.h>
rap