Borderou de evaluare (job #1026047)
Utilizator | Data | 10 noiembrie 2013 23:03:05 | |
---|---|---|---|
Problema | Zero 2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:9:27: error: ‘int exp [20]’ redeclared as different kind of symbol
int nrp, prime[20], exp[20];
^
In file included from /usr/include/features.h:346:0,
from /usr/local/include/c++/4.8.0/i686-pc-linux-gnu/bits/os_defines.h:39,
from /usr/local/include/c++/4.8.0/i686-pc-linux-gnu/bits/c++config.h:420,
from /usr/local/include/c++/4.8.0/cstdio:41,
from user.cpp:1:
/usr/include/bits/mathcalls.h:101:1: error: previous declaration of ‘double exp(double)’
__MATHCALL (exp,, (_Mdouble_ __x));
^
user.cpp: In function ‘void desc(int)’:
user.cpp:16:20: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
exp[nrp] = 0;
^
user.cpp:18:26: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
++exp[nrp];
^
user.cpp:26:16: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
exp[nrp] = 1;
^
user.cpp: In function ‘long long int solve(int, int)’:
user.cpp:45:43: error: invalid types ‘<unresolved overloaded function type>[int]’ for array subscript
res = min( res, ( ll ) ans / exp[i] );
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !