Borderou de evaluare (job #2719396)
Utilizator | Data | 9 martie 2021 20:12:50 | |
---|---|---|---|
Problema | Cel mai lung subsir comun | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:1: error: 'include' does not name a type
include <fstream>
^~~~~~~
main.cpp:4:1: error: 'ifstream' does not name a type
ifstream fin("cmlsc.in");
^~~~~~~~
main.cpp:5:1: error: 'ofstream' does not name a type
ofstream fout("cmlsc.out");
^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:9:5: error: 'fin' was not declared in this scope
fin>>n>>m;
^~~
main.cpp:20:47: error: 'max' was not declared in this scope
dp[i][j]=max(dp[i-1][j],dp[i][j-1]);
^
main.cpp:38:5: error: 'fout' was not declared in this scope
fout<<k<<"\n";
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !