Borderou de evaluare (job #3322067)

Utilizator ItsHezovPahonie George Alessio ItsHezov Data 12 noiembrie 2025 16:10:05
Problema Parantezare optima de matrici Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:4:1: error: expected ',' or ';' before 'ofstream' 4 | ofstream cout("podm.out"); | ^~~~~~~~ main.cpp: In function 'int main()': main.cpp:27:5: error: 'cout' was not declared in this scope 27 | cout << dp[1][n] << '\n'; | ^~~~ main.cpp:2:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? 1 | #include <fstream> +++ |+#include <iostream> 2 | using namespace std; Non zero exit status: 1

Ceva nu functioneaza?