Borderou de evaluare (job #684059)

Utilizator avatar Skaduwee Pavel Bogdan Stefan Skaduwee IP ascuns
Problemă Oz (clasa a 9-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 23 dec. 2022 11:58:21 Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:12:5: error: 'cout' was not declared in this scope 12 | cout << "-1" << endl; | ^~~~ main.cpp:2:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'? 1 | #include <fstream> +++ |+#include <iostream> 2 | main.cpp:9:9: warning: unused variable 'numere' [-Wunused-variable] 9 | int numere[NMAX], n, m; | ^~~~~~ main.cpp:9:23: warning: unused variable 'n' [-Wunused-variable] 9 | int numere[NMAX], n, m; | ^ main.cpp:9:26: warning: unused variable 'm' [-Wunused-variable] 9 | int numere[NMAX], n, m; | ^