Borderou de evaluare (job #2322162)
Utilizator | Data | 17 ianuarie 2019 14:38:21 | |
---|---|---|---|
Problema | Calorifer | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'bool partialFactorisation::operator<(const partialFactorisation&)':
main.cpp:34:67: error: expected ';' before ')' token
return (threeExponent < comparedElement.threeExponent));
^
main.cpp:33:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
else if(twoExponent == comparedElement.twoExponent)
^~
main.cpp:34:67: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
return (threeExponent < comparedElement.threeExponent));
^
main.cpp:34:67: error: expected primary-expression before ')' token
main.cpp: In function 'int main()':
main.cpp:45:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN, "%d", &inputSize);
^
main.cpp:49:45: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf(IN, "%d", &input[i].original);
^
main.cpp: In member function 'bool partialFactorisation::operator<(const partialFactorisation&)':
main.cpp:35:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !