Borderou de evaluare (job #1856893)
| Utilizator | Data | 25 ianuarie 2017 16:47:28 | |
|---|---|---|---|
| Problema | Viteza | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:19:85: error: ‘int log2 [200002]’ redeclared as different kind of symbol
int arb[4*nMax], sons[nMax], dp[nMax], tata[nMax], viz[nMax], Sol[qMax], log2[rmqMax], rmq[log2Max][rmqMax], lev[nMax], first[nMax], inArb[nMax];
^
In file included from /usr/include/features.h:357:0,
from /usr/include/i386-linux-gnu/c++/4.8/bits/os_defines.h:39,
from /usr/include/i386-linux-gnu/c++/4.8/bits/c++config.h:420,
from /usr/include/c++/4.8/iosfwd:38,
from /usr/include/c++/4.8/ios:38,
from /usr/include/c++/4.8/istream:38,
from /usr/include/c++/4.8/fstream:38,
from user.cpp:1:
/usr/include/i386-linux-gnu/bits/mathcalls.h:146:1: error: previous declaration of ‘double log2(double)’
__MATHCALL (log2,, (_Mdouble_ __x));
^
user.cpp: In function ‘int main()’:
user.cpp:117:15: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
log2[i]=log2[i/2]+1;
^
user.cpp:117:25: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
log2[i]=log2[i/2]+1;
^
user.cpp:142:17: warning: unused variable ‘nodeVal’ [-Wunused-variable]
int nodeVal=nodes[lastPoz].val, node=nodes[lastPoz].poz;
^
user.cpp:151:31: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
int len=log2[fDr-fSt+1];
^
user.cpp:100:15: warning: unused variable ‘c’ [-Wunused-variable]
int a, b, c;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
