Borderou de evaluare (job #1955492)
Utilizator | Data | 6 aprilie 2017 00:29:17 | |
---|---|---|---|
Problema | Dk | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:67:21: error: ‘prime’ was not declared in this scope
if(N == prime[i]){
^
user.cpp:68:22: warning: unused variable ‘goOn’ [-Wunused-variable]
bool goOn = true;
^
user.cpp:73:13: error: ‘goOn’ was not declared in this scope
}if(goOn) continue;
^
user.cpp:57:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dk.in", "r", stdin);
^
user.cpp:58:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("dk.out", "w", stdout);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !