Borderou de evaluare (job #1851220)
Utilizator | Data | 19 ianuarie 2017 15:23:40 | |
---|---|---|---|
Problema | Triplete | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void Read()’:
user.cpp:27:7: error: reference to ‘left’ is ambiguous
in>>left[i]>>right[i];
^
user.cpp:9:31: note: candidates are: int left [66000]
int Iorgu[Imax][Imax/(1<<5)], left[NMax], right[NMax];
^
In file included from /usr/include/c++/4.8/ios:42:0,
from /usr/include/c++/4.8/istream:38,
from /usr/include/c++/4.8/fstream:38,
from user.cpp:1:
/usr/include/c++/4.8/bits/ios_base.h:916:3: note: std::ios_base& std::left(std::ios_base&)
left(ios_base& __base)
^
user.cpp:27:16: error: reference to ‘right’ is ambiguous
in>>left[i]>>right[i];
^
user.cpp:9:43: note: candidates are: int right [66000]
int Iorgu[Imax][Imax/(1<<5)], left[NMax], right[NMax];
^
In file included from /usr/include/c++/4.8/ios:42:0,
from /usr/include/c++/4.8/istream:38,
from /usr/include/c++/4.8/fstream:38,
from user.cpp:1:
/usr/include/c++/4.8/bits/ios_base.h:924:3: note: std::ios_base& std::right(std::ios_base&)
right(ios_base& __base)
^
user.cpp:28:7: error: reference to ‘left’ is ambiguous
if (left[i]>right[i])
^
user.cpp:9:31: note: candidates are: int left [66000]
int Iorgu[Imax][Imax/(1<<5)], left[NMax], right[NMax];
^
In file included from /usr/include/c++/4.8/ios:42:0,
from /usr/include/c++/4.8/istream:38,
from /usr/include/c++/4.8/fstream:38,
from user.cpp:1:
/usr/include/c++/4.8/bits/ios_base.h:916:3: note: std::ios_base& std::left(std::ios_base&)
left(ios_base& __base)
^
user.cpp:28:15: error: reference to ‘right’ is ambiguous
if (left[i]>right[i])
^
user.cpp:9:43: note: candidates are: int right [66000]
int Iorgu[Imax][Imax/(1<<5)], left[NMax], right[NMax];
^
In file included from /usr/include/c++/4.8/ios:42:0,
from /usr/include/c++/4.8/istream:38,
from /usr/include/c++/4.8/fstream:38,
from user.cpp:1:
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !