Problem | lis |
---|---|
User | YH |
Submission Time | 2024-02-10 21:59:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis.cpp: In function ‘int main()’:
lis.cpp:24:19: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
24 | if (nums[y-1] < nums{y]) {
| ^~~~
lis.cpp:24:23: error: expected ‘)’ before ‘{’ token
24 | if (nums[y-1] < nums{y]) {
| ~ ^
| )
lis.cpp:24:25: error: expected primary-expression before ‘]’ token
24 | if (nums[y-1] < nums{y]) {
| ^