Borderou de evaluare (job #2908906)
Utilizator | Data | 6 iunie 2022 21:32:27 | |
---|---|---|---|
Problema | Euclid1 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:20: error: stray '#' in program
7 | #define cout fout#define BUF 131072
| ^
main.cpp:126:13: note: in expansion of macro 'cout'
126 | OutParser cout("euclid1.out");
| ^~~~
main.cpp:7:20: error: stray '#' in program
7 | #define cout fout#define BUF 131072
| ^
main.cpp:254:7: note: in expansion of macro 'cout'
254 | cout << Normal::query(l, r) << '\n';
| ^~~~
main.cpp: In member function 'char InParser::read_ch()':
main.cpp:16:17: error: 'BUF' was not declared in this scope
16 | if (sp == BUF) {
| ^~~
main.cpp: In constructor 'InParser::InParser(const char*)':
main.cpp:26:23: error: 'BUF' was not declared in this scope
26 | buff = new char[BUF]();
| ^~~
main.cpp: In member function 'void OutParser::write_ch(char)':
main.cpp:73:21: error: 'BUF' was not declared in this scope
73 | if (sp == BUF) {
| ^~~
main.cpp: In constructor 'OutParser::OutParser(const char*)':
main.cpp:86:27: error: 'BUF' was not declared in this scope
86 | buff = new char[BUF]();
| ^~~
main.cpp: At global scope:
main.cpp:7:21: error: expected initializer before 'define'
7 | #define cout fout#define BUF 131072
| ^~~~~~
main.cpp:126:13: note: in expansion of macro 'cout'
126 | OutParser cout("euclid1.out");
| ^~~~
main.cpp: In member function 'll AINT::construct(ll*, ll, ll, ll)':
main.cpp:156:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
156 | int mid = cl + cr >> 1;
| ~~~^~~~
main.cpp: In member function 'll AINT::upd(ll, ll, ll, ll, ll)':
main.cpp:164:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
164 | int mid = cl + cr >> 1;
| ~~~^~~~
main.cpp: In member function 'll AINT::query(ll, ll, ll, ll, ll)':
main.cpp:172:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
172 | int mid = cl + cr >> 1;
| ~~~^~~~
main.cpp: In function 'int main()':
main.cpp:7:16: error: 'fout' was not declared in this scope; did you mean 'cout'?
7 | #define cout fout#define BUF 131072
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !