Problem | psle |
---|---|
User | NotTYR |
Submission Time | 2024-02-28 16:41:55 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
psle.cpp: In function ‘int main()’:
psle.cpp:6:7: error: structured binding declaration cannot have type ‘int’
6 | int[][] a = {{91,100},{75,90},{60,74},{50,59},{35,49},{20,34},{0,19}};
| ^~
psle.cpp:6:7: note: type must be cv-qualified ‘auto’ or reference to cv-qualified ‘auto’
psle.cpp:6:7: error: empty structured binding declaration
psle.cpp:6:9: error: expected initializer before ‘[’ token
6 | int[][] a = {{91,100},{75,90},{60,74},{50,59},{35,49},{20,34},{0,19}};
| ^
psle.cpp:7:8: error: scalar object ‘c’ requires one element in initializer
7 | int c = {"A*","A","B","C","D","E","U"};
| ^
psle.cpp:11:17: error: ‘a’ was not declared in this scope
11 | if (b >= a[i][0] && b <= a[i][1]){
| ^