Borderou de evaluare (job #1189317)
Utilizator | Data | 22 mai 2014 12:08:09 | |
---|---|---|---|
Problema | Logic | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:8:8: error: ‘std::string exp’ redeclared as different kind of symbol
string exp;
^
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:101:1: error: previous declaration of ‘double exp(double)’
__MATHCALL (exp,, (_Mdouble_ __x));
^
user.cpp: In function ‘int main()’:
user.cpp:27:9: error: overloaded function with no contextual type information
exp = a;
^
user.cpp:28:13: error: ‘std::exp’ does not have class type
it = exp.begin();
^
user.cpp:38:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < pos.size(); ++j)
^
user.cpp:46:11: error: overloaded function with no contextual type information
exp = a;
^
user.cpp:47:15: error: ‘std::exp’ does not have class type
it = exp.begin();
^
user.cpp:52:11: error: overloaded function with no contextual type information
exp = b;
^
user.cpp:53:15: error: ‘std::exp’ does not have class type
it = exp.begin();
^
user.cpp: In function ‘bool oring()’:
user.cpp:78:18: error: ‘std::exp’ does not have class type
while(it != exp.end() && *it == '|'){
^
user.cpp: In function ‘bool xoring()’:
user.cpp:87:18: error: ‘std::exp’ does not have class type
while(it != exp.end() && *it == '^'){
^
user.cpp: In function ‘bool anding()’:
user.cpp:96:18: error: ‘std::exp’ does not have class type
while(it != exp.end() && *it == '&'){
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !