Problem lis_easy
User FIips
Submission Time 2024-02-07 09:30:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int32_t main()’:
lis_easy.cpp:6:10: error: ‘sycn_with_stdio’ is not a member of ‘std::ios’ {aka ‘std::basic_ios<char>’}
6 | ios::sycn_with_stdio(0);
| ^~~~~~~~~~~~~~~
lis_easy.cpp:18:44: error: expected ‘;’ before ‘}’ token
18 | lis[i]=max(lis[i],lis[j]+1)
| ^
| ;
19 | }
| ~
lis_easy.cpp:23:37: error: expected ‘;’ before ‘cout’
23 | sort(lis, lis+n, greater<int>())
| ^
| ;
24 | cout<<lis[0];
| ~~~~