Borderou de evaluare (job #2837648)
Utilizator | Data | 22 ianuarie 2022 12:55:36 | |
---|---|---|---|
Problema | Range minimum query | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:14: error: expected initializer before string constant
4 | ifstream cin "rmq.in");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:10:5: error: 'cin' was not declared in this scope
10 | cin>>n>>m;
| ^~~
main.cpp:2:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include <fstream>
+++ |+#include <iostream>
2 | #define INF 1000000000
main.cpp:27:9: error: 'fin' was not declared in this scope
27 | fin>>st>>dr;
| ^~~
main.cpp:29:19: error: 'e' was not declared in this scope
29 | len = (1<<e);
| ^
main.cpp:31:5: error: expected '}' at end of input
31 | }
| ^
main.cpp:9:13: note: to match this '{'
9 | int main () {
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !