Problem lis_easy
User jonellaaa
Submission Time 2023-11-10 10:36:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:2:1: error: ‘ios_base’ has not been declared
2 | ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);//makes code run faster
| ^~~~~~~~
lis_easy.cpp:2:35: error: ‘cin’ was not declared in this scope
2 | ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);//makes code run faster
| ^~~
lis_easy.cpp:2:47: error: ‘cout’ was not declared in this scope
2 | ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);//makes code run faster
| ^~~~
lis_easy.cpp:15:5: error: ‘memset’ was not declared in this scope
15 | memset (lis,0,sizeof(lis));
| ^~~~~~
lis_easy.cpp:1:1: note: ‘memset’ is defined in header ‘<cstring>’; did you forget to ‘#include <cstring>’?
+++ |+#include <cstring>
1 | int main (){
lis_easy.cpp:19:16: error: ‘max’ was