Problem | dna_ioi |
---|---|
User | begitable |
Submission Time | 2023-01-04 22:23:51 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
dna_ioi.cpp:5:1: error: ‘string’ does not name a type; did you mean ‘stdin’?
5 | string a,b;
| ^~~~~~
| stdin
dna_ioi.cpp: In function ‘void init(std::string, std::string)’:
dna_ioi.cpp:9:2: error: ‘cin’ was not declared in this scope; did you mean ‘std::cin’?
9 | cin >> a >> b;
| ^~~
| std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:75,
from dna_ioi.cpp:2:
/usr/include/c++/9/iostream:60:18: note: ‘std::cin’ declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
dna_ioi.cpp:22:16: error: ‘max’ was not declared in this scope; did you mean ‘std::max’?
22 | lol[i] = lol[max(i-1,0)]+1;
| ^~~
| std::max
In file included from /usr/include/c++/9/algorithm:62,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:65,