Borderou de evaluare (job #1600398)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int)’:
user.cpp:24:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < G[k].size(); ++i){
^
user.cpp: In function ‘int main()’:
user.cpp:79:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j = 0; j < comp[i].size(); ++j){
^
user.cpp:81:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 0; k < Gr[comp[i][j]].size() && j + 1 < comp[i].size(); ++k){
^
user.cpp:81:78: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int k = 0; k < Gr[comp[i][j]].size() && j + 1 < comp[i].size(); ++k){
^
user.cpp:87:48: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(ok == 0 && j + 1 < comp[i].size()){
^
user.cpp:52:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("biperm.in","r",stdin);
^
user.cpp:53:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("biperm.out","w",stdout);
^
user.cpp:54:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:56:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
user.cpp:58:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&b[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 648kb | Corect | 10 |
2 | 0ms | 648kb | Corect | 10 |
3 | 0ms | 648kb | Corect | 10 |
4 | 0ms | 644kb | Cerintele 2 si 3 corecte | 7 |
5 | 0ms | 652kb | Corect | 10 |
6 | 0ms | 664kb | Cerintele 2 si 3 corecte | 7 |
7 | 0ms | 668kb | Corect | 10 |
8 | 0ms | 664kb | Cerintele 2 si 3 corecte | 7 |
9 | 44ms | 1128kb | Cerintele 2 si 3 corecte | 7 |
10 | 44ms | 1276kb | Cerintele 2 si 3 corecte | 7 |
Punctaj total | 85 |