Problem potatosalad
User CastyLoz17
Submission Time 2024-02-28 22:04:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatosalad.cpp: In function ‘int main()’:
potatosalad.cpp:5:27: error: expected ‘;’ before ‘vector’
5 | int m, n, x; cin>>m>>n
| ^
| ;
6 | vector<int> pot;
| ~~~~~~
potatosalad.cpp:9:9: error: ‘pot’ was not declared in this scope; did you mean ‘pow’?
9 | pot.push_back(x);
| ^~~
| pow
potatosalad.cpp:11:10: error: ‘pot’ was not declared in this scope; did you mean ‘pow’?
11 | sort(pot.start(),pot.end(),greatest<int>());
| ^~~
| pow
potatosalad.cpp:11:32: error: ‘greatest’ was not declared in this scope
11 | sort(pot.start(),pot.end(),greatest<int>());
| ^~~~~~~~
potatosalad.cpp:11:41: error: expected primary-expression before ‘int’
11 | sort(pot.start(),pot.end(),greate