Problem | lis_easy |
---|---|
User | christal |
Submission Time | 2023-12-20 15:45:37 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:6:18: error: a function-definition is not allowed here before ‘{’ token
6 | int lis(int idx){
| ^
lis_easy.cpp:16:21: error: ‘n’ was not declared in this scope
16 | for (int i = 0; i < n; i++){
| ^
lis_easy.cpp:17:20: error: ‘lis’ was not declared in this scope
17 | ans = max(ans, lis(i));
| ^~~