Problem maximum
User Krishna
Submission Time 2023-10-19 09:23:25
Score 0
Max Time N/A
Max Memory N/A

Compile Error

maximum.cpp:1:2: error: invalid preprocessing directive #incude; did you mean #include?
1 | #incude <bits/stdc++.h>
| ^~~~~~
| include
maximum.cpp: In function ‘int main()’:
maximum.cpp:5:2: error: ‘ios_base’ has not been declared
5 | ios_base::sync_with_stdio(false);
| ^~~~~~~~
maximum.cpp:6:2: error: ‘vector’ was not declared in this scope
6 | vector<int> nums;
| ^~~~~~
maximum.cpp:1:1: note: ‘std::vector’ is defined in header ‘<vector>’; did you forget to ‘#include <vector>’?
+++ |+#include <vector>
1 | #incude <bits/stdc++.h>
maximum.cpp:6:9: error: expected primary-expression before ‘int’
6 | vector<int> nums;
| ^~~
maximum.cpp:7:7: error: ‘i’ was not declared in this scope
7 | for (i= 0,i<2;i++) {
| ^
maximum.cpp:7:19: error: expected ‘;’ before ‘)’ token
7 | for (i= 0,i<2;i++) {