Borderou de evaluare (job #2110918)
Utilizator | Data | 21 ianuarie 2018 15:02:11 | |
---|---|---|---|
Problema | Sclifoseala | Status | done |
Runda | marcel1 | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:16:1: error: ‘unsigned_map’ does not name a type
unsigned_map <pair<int,int>,bool> H;
^
user.cpp: In function ‘void DFS(int, int)’:
user.cpp:34:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<Graph[node].size();i++)
^
user.cpp: In function ‘int Solve(int)’:
user.cpp:62:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<Comp[c].size();i++)
^
user.cpp:64:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<Comp[c].size();j++)
^
user.cpp:65:20: error: ‘H’ was not declared in this scope
if(H[{Comp[c][i],Comp[c][j]}])
^
user.cpp:71:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<Comp[c].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:97:9: error: ‘H’ was not declared in this scope
H.clear();
^
user.cpp:114:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<Comp.size();i++)
^
user.cpp:92:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d",&T);
^
user.cpp:102:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d %d",&N,&M);
^
user.cpp:105:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN,"%d %d",&X,&Y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !