Borderou de evaluare (job #1690343)
Utilizator | Data | 15 aprilie 2016 00:12:00 | |
---|---|---|---|
Problema | Unicat | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:4:11: error: expected unqualified-id before numeric constant
#define b 28
^
user.cpp:4:11: error: expected unqualified-id before numeric constant
#define b 28
^
/usr/include/c++/4.8/bits/random.h: In member function ‘std::uniform_int_distribution<_IntType>::result_type std::uniform_int_distribution<_IntType>::max() const’:
user.cpp:4:11: error: expected unqualified-id before numeric constant
#define b 28
^
user.cpp:4:11: error: expected ‘;’ before numeric constant
In file included from /usr/include/c++/4.8/random:50:0,
from /usr/include/c++/4.8/bits/stl_algo.h:65,
from /usr/include/c++/4.8/algorithm:62,
from user.cpp:6:
/usr/include/c++/4.8/bits/random.h:1762:24: error: expression cannot be used as a function
{ return this->b(); }
^
/usr/include/c++/4.8/bits/random.h: At global scope:
user.cpp:4:11: error: expected unqualified-id before numeric constant
#define b 28
^
user.cpp:4:11: error: expected unqualified-id before numeric constant
#define b 28
^
/usr/include/c++/4.8/bits/random.h: In member function ‘std::uniform_real_distribution<_RealType>::result_type std::uniform_real_distribution<_RealType>::max() const’:
user.cpp:4:11: error: expected unqualified-id before numeric constant
#define b 28
^
user.cpp:4:11: error: expected ‘;’ before numeric constant
In file included from /usr/include/c++/4.8/random:50:0,
from /usr/include/c++/4.8/bits/stl_algo.h:65,
from /usr/include/c++/4.8/algorithm:62,
from user.cpp:6:
/usr/include/c++/4.8/bits/random.h:1966:24: error: expression cannot be used as a function
{ return this->b(); }
^
/usr/include/c++/4.8/bits/random.h: In member function ‘std::uniform_real_distribution<_RealType>::result_type std::uniform_real_distribution<_RealType>::operator()(_UniformRandomNumberGenerator&, const std::uniform_real_distribution<_RealType>::param_type&)’:
user.cpp:4:11: error: expected unqualified-id before numeric constant
#define b 28
^
user.cpp:4:11: error: expected ‘)’ before numeric constant
In file included from /usr/include/c++/4.8/random:50:0,
from /usr/include/c++/4.8/bits/stl_algo.h:65,
from /usr/include/c++/4.8/algorithm:62,
from user.cpp:6:
/usr/include/c++/4.8/bits/random.h:1983:54: error: expected ‘)’ before ‘;’ token
return (__aurng() * (__p.b() - __p.a())) + __p.a();
^
/usr/include/c++/4.8/bits/random.h: At global scope:
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !