Problem qualitytime
User penguin133
Submission Time 2023-12-11 23:11:12
Score 0
Max Time N/A
Max Memory N/A

Compile Error

qualitytime.cpp:4:1: error: ‘pi’ does not name a type
4 | pi A[1005];
| ^~
qualitytime.cpp: In function ‘int main()’:
qualitytime.cpp:9:42: error: ‘A’ was not declared in this scope
9 | for(int i = 1; i <= n; i++)cin >> C[i], A[i] = {C[i], T[i]};
| ^
qualitytime.cpp:10:7: error: ‘A’ was not declared in this scope
10 | sort(A + 1, A + 1 + n);
| ^