Borderou de evaluare (job #1984052)
Utilizator | Data | 23 mai 2017 16:03:48 | |
---|---|---|---|
Problema | Interclasari | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:13:21: error: ‘std::set<std::pair<int, int> > time’ redeclared as different kind of symbol
set <pair<int,int>> time;
^
In file included from /usr/include/pthread.h:26:0,
from /usr/include/i386-linux-gnu/c++/4.8/bits/gthr-default.h:35,
from /usr/include/i386-linux-gnu/c++/4.8/bits/gthr.h:148,
from /usr/include/c++/4.8/ext/atomicity.h:33,
from /usr/include/c++/4.8/bits/ios_base.h:39,
from /usr/include/c++/4.8/ios:42,
from /usr/include/c++/4.8/ostream:38,
from /usr/include/c++/4.8/iostream:39,
from user.cpp:1:
/usr/include/time.h:186:15: error: previous declaration of ‘time_t time(time_t*)’
extern time_t time (time_t *__timer) __THROW;
^
user.cpp: In function ‘int main()’:
user.cpp:34:14: error: request for member ‘insert’ in ‘time’, which is of non-class type ‘time_t(time_t*)throw () {aka long int(long int*)throw ()}’
time.insert(aj);
^
user.cpp:41:16: error: request for member ‘begin’ in ‘time’, which is of non-class type ‘time_t(time_t*)throw () {aka long int(long int*)throw ()}’
aj=*time.begin();
^
user.cpp:42:12: error: request for member ‘erase’ in ‘time’, which is of non-class type ‘time_t(time_t*)throw () {aka long int(long int*)throw ()}’
time.erase(time.begin());
^
user.cpp:42:23: error: request for member ‘begin’ in ‘time’, which is of non-class type ‘time_t(time_t*)throw () {aka long int(long int*)throw ()}’
time.erase(time.begin());
^
user.cpp:44:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(ind[aj.nr_echipa]<t[aj.nr_echipa].size()-1){
^
user.cpp:47:14: error: request for member ‘insert’ in ‘time’, which is of non-class type ‘time_t(time_t*)throw () {aka long int(long int*)throw ()}’
time.insert(aj2);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !