Borderou de evaluare (job #2310912)
Utilizator | Data | 2 ianuarie 2019 13:15:45 | |
---|---|---|---|
Problema | Divizor si multiplu | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:17:23: error: 'n' was not declared in this scope
while( d * d <= n ){
^
main.cpp:24:11: error: 'n' was not declared in this scope
if( n > 1 )
^
main.cpp:14:11: warning: unused variable 'x' [-Wunused-variable]
int x = b / a;
^
main.cpp:11:28: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d", &t );
^
main.cpp:13:36: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
fscanf( fin, "%d%d", &a, &b );
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !