Borderou de evaluare (job #2690140)
Utilizator | Data | 23 decembrie 2020 09:44:41 | |
---|---|---|---|
Problema | Petrecere | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:50:5: error: 'LL' does not name a type
LL n, X[4006];
^~
main.cpp:57:20: error: 'LL' has not been declared
void operator=(LL a)
^~
main.cpp: In constructor 'bn::bn()':
main.cpp:54:9: error: 'n' was not declared in this scope
n = 0;
^
main.cpp:55:16: error: 'X' was not declared in this scope
memset(X,0,sizeof(X));
^
main.cpp: In member function 'void bn::operator=(int)':
main.cpp:59:9: error: 'n' was not declared in this scope
n=1;
^
main.cpp:60:9: error: 'X' was not declared in this scope
X[n]=0;
^
main.cpp: In member function 'void bn::refa()':
main.cpp:71:16: error: 'n' was not declared in this scope
for1(i,n)
^
main.cpp:5:47: note: in definition of macro 'for1'
#define for1(i, n) for (int i = 1; i <= (int)(n); ++i) // 1 based indexing
^
main.cpp:73:13: error: 'X' was not declared in this scope
X[i] += tr;
^
main.cpp:78:13: error: 'X' was not declared in this scope
X[++n]=tr%base;
^
main.cpp:78:17: error: 'n' was not declared in this scope
X[++n]=tr%base;
^
main.cpp: In member function 'bn bn::operator+(bn)':
main.cpp:85:11: error: 'struct bn' has no member named 'n'; did you mean 'bn'?
r.n = max(b.n,n);
^
main.cpp:85:21: error: 'struct bn' has no member named 'n'; did you mean 'bn'?
r.n = max(b.n,n);
^
main.cpp:85:23: error: 'n' was not declared in this scope
r.n = max(b.n,n);
^
main.cpp:86:18: error: 'struct bn' has no member named 'n'; did you mean 'bn'?
for1(i,r.n)
^
main.cpp:5:47: note: in definition of macro 'for1'
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !