Borderou de evaluare (job #748900)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Bani | Compilator | cpp-32 |
Rundă | lasm_01_12_2023_clasa12 | Status | evaluat |
Dată | 1 dec. 2023 20:35:47 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:2:1: error: 'ifstream' does not name a type
2 | ifstream fin("bani.in");
| ^~~~~~~~
main.cpp:3:1: error: 'ofstream' does not name a type
3 | ofstream fout("bani.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:9:5: error: 'fin' was not declared in this scope
9 | fin>>n >> v;
| ^~~
main.cpp:16:5: error: 'fout' was not declared in this scope
16 | fout << dp[v] ;
| ^~~~