Borderou de evaluare (job #1182567)
Utilizator | Data | 6 mai 2014 20:21:08 | |
---|---|---|---|
Problema | Componente tare conexe | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void dfsA(int)’:
user.cpp:18:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < v1[node].size(); i++){
^
user.cpp: In function ‘void dfsB(int, int&)’:
user.cpp:28:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i =0 ; i < v2[node].size(); i++){
^
user.cpp: In function ‘int main()’:
user.cpp:49:29: error: ‘memset’ was not declared in this scope
memset(markA,0,sizeof markA);
^
user.cpp:52:6: error: ‘markB’ was not declared in this scope
if(markB[finish.top()]){
^
user.cpp:35:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ctc.in","r",stdin);
^
user.cpp:36:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ctc.out","w",stdout);
^
user.cpp:37:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&m);
^
user.cpp:40:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !