Problem pressstart
User TheRaptor
Submission Time 2023-01-19 21:54:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pressstart.cpp: In function ‘int main()’:
pressstart.cpp:8:2: error: expected primary-expression before ‘<’ token
8 | <pair<pair<int,int>,int> s[q];
| ^
pressstart.cpp:8:27: error: expected primary-expression before ‘s’
8 | <pair<pair<int,int>,int> s[q];
| ^
pressstart.cpp:13:3: error: ‘s’ was not declared in this scope
13 | s[i]={{a,b},c};
| ^
pressstart.cpp:20:9: error: ‘s’ was not declared in this scope
20 | int a=s[i].first.first,b=s[i].first.second;
| ^
pressstart.cpp:25:12: error: ‘b’ was not declared in this scope
25 | while(a<=b){
| ^