Borderou de evaluare (job #3339448)
| Utilizator | Data | 8 februarie 2026 10:19:44 | |
|---|---|---|---|
| Problema | Subsir crescator maximal | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void sol(int)':
main.cpp:28:17: error: 'cout' was not declared in this scope
28 | cout<<V[i]<<" ";
| ^~~~
main.cpp:2:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include <fstream>
+++ |+#include <iostream>
2 | #define DIM 100010
main.cpp: In function 'int main()':
main.cpp:32:13: error: 'cin' was not declared in this scope
32 | cin>>n;
| ^~~
main.cpp:32:13: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:78:13: error: 'cout' was not declared in this scope
78 | cout<<m<<"\n";
| ^~~~
main.cpp:78:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
