Borderou de evaluare (job #1000595)
Utilizator | Data | 23 septembrie 2013 13:42:13 | |
---|---|---|---|
Problema | Ulei | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/local/include/c++/4.8.0/backward/hash_map:60:0,
from user.cpp:6:
/usr/local/include/c++/4.8.0/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
#warning \
^
user.cpp:14:1: error: ‘hash_map’ does not name a type
hash_map<int, int> l[NMAX];
^
user.cpp:16:1: error: ‘hash_map’ does not name a type
hash_map<int, int> pairing[NMAX], col[NMAX];
^
user.cpp:18:1: error: ‘hash_map’ does not name a type
hash_map<int, int> cnt;
^
user.cpp:19:1: error: ‘hash_map’ does not name a type
hash_map<int, int>::iterator it;
^
user.cpp: In function ‘void findGoodPairing(int)’:
user.cpp:27:2: error: ‘cnt’ was not declared in this scope
cnt.clear();
^
user.cpp:28:2: error: ‘col’ was not declared in this scope
col[i].clear();
^
user.cpp:30:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < v[i].size(); j++)
^
user.cpp:41:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < v[i].size(); j++)
^
user.cpp:49:2: error: ‘pairing’ was not declared in this scope
pairing[i].clear();
^
user.cpp: In function ‘int main()’:
user.cpp:106:4: error: ‘l’ was not declared in this scope
l[i].clear();
^
user.cpp:107:4: error: ‘pairing’ was not declared in this scope
pairing[i].clear();
^
user.cpp:129:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (j = 0; j < v[i].size(); j++)
^
user.cpp:130:10: error: ‘l’ was not declared in this scope
if (!l[i][v[i][j].first])
^
user.cpp:140:11: error: ‘pairing’ was not declared in this scope
r = pairing[q][p];
^
user.cpp:162:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !