Pagini recente » Borderou de evaluare (job #694922) | Borderou de evaluare (job #2385189) | Borderou de evaluare (job #265066) | Borderou de evaluare (job #482058) | Borderou de evaluare (job #708067)
Borderou de evaluare (job #708067)
Raport evaluator
Compilare:
user.cpp: In function ‘char* stringrev(char*)’:
user.cpp:108:6: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
x[k]=NULL;
^
user.cpp:105:7: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
char x[BAZA/10000];int k=0;
^
user.cpp: In member function ‘char* MARE::ToChar()’:
user.cpp:609:19: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
string[X[0]*9+1] = NULL;
^
user.cpp:603:21: warning: address of local variable ‘string’ returned [-Wreturn-local-addr]
int aux,k=-1; char string[BAZA/10000];
^
user.cpp: In member function ‘bool MARE::operator>(MARE)’:
user.cpp:474:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In member function ‘bool MARE::operator<(MARE)’:
user.cpp:496:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In member function ‘bool MARE::operator>=(MARE)’:
user.cpp:518:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In member function ‘bool MARE::operator<=(MARE)’:
user.cpp:540:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In member function ‘bool MARE::operator==(MARE)’:
user.cpp:562:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In member function ‘bool MARE::operator!=(MARE)’:
user.cpp:584:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘void deschidere()’:
user.cpp:738:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("risipa.in","r",stdin);
^
user.cpp:739:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("risipa.out","w",stdout);
^
user.cpp: In function ‘void citire()’:
user.cpp:744:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&A,&B);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 472kb | OK | 10 |
2 | 0ms | 484kb | OK | 10 |
3 | 0ms | 480kb | OK | 10 |
4 | 0ms | 480kb | OK | 10 |
5 | 0ms | 492kb | OK | 10 |
6 | 0ms | 476kb | OK | 10 |
7 | 0ms | 496kb | OK | 10 |
8 | 0ms | 492kb | OK | 10 |
9 | 0ms | 496kb | OK | 10 |
10 | 0ms | 496kb | Incorect | 0 |
Punctaj total | 90 |