Borderou de evaluare (job #2908574)
Utilizator | Data | 4 iunie 2022 13:57:55 | |
---|---|---|---|
Problema | Rest | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:150:5: error: 'cin' was not declared in this scope
150 | cin >> n >> baza >> p;
| ^~~
main.cpp:2:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include <fstream>
+++ |+#include <iostream>
2 | #pragma GCC optimize("Ofast")
main.cpp:162:13: error: 'cout' was not declared in this scope
162 | cout << aintx.query (1, 1, n, x, y).first << '\n';
| ^~~~
main.cpp:162:13: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
main.cpp:149:24: warning: unused variable 'q' [-Wunused-variable]
149 | int n, i, a, x, y, q, m;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !