Borderou de evaluare (job #3308839)
| Utilizator | Data | 28 august 2025 17:19:46 | |
|---|---|---|---|
| Problema | Plantatii | Status | done |
| Runda | Arhiva ICPC | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:7:10: error: redefinition of 'std::ifstream cin'
7 | ifstream cin("plantatii.out");
| ^~~
main.cpp:6:10: note: 'std::ifstream cin' previously declared here
6 | ifstream cin("plantatii.in");
| ^~~
main.cpp: In function 'void solve()':
main.cpp:79:5: error: 'cout' was not declared in this scope
79 | cout << binarySearch() << '\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 | #define int long long
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
