Borderou de evaluare (job #2017133)
Utilizator | Data | 31 august 2017 13:05:22 | |
---|---|---|---|
Problema | Proc | 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:50:7: error: ‘pas’ was not declared in this scope
for(pas = 1 << 30; pas > 0; pas >>= 1)
^
user.cpp:43:7: warning: unused variable ‘n’ [-Wunused-variable]
int n, i, j, unu, doi, sol_dr, sol_st, timp, tasks, proc ;
^
user.cpp:43:10: warning: unused variable ‘i’ [-Wunused-variable]
int n, i, j, unu, doi, sol_dr, sol_st, timp, tasks, proc ;
^
user.cpp:43:13: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j, unu, doi, sol_dr, sol_st, timp, tasks, proc ;
^
user.cpp:43:26: warning: unused variable ‘sol_dr’ [-Wunused-variable]
int n, i, j, unu, doi, sol_dr, sol_st, timp, tasks, proc ;
^
user.cpp:43:34: warning: unused variable ‘sol_st’ [-Wunused-variable]
int n, i, j, unu, doi, sol_dr, sol_st, timp, tasks, proc ;
^
user.cpp:43:42: warning: unused variable ‘timp’ [-Wunused-variable]
int n, i, j, unu, doi, sol_dr, sol_st, timp, tasks, proc ;
^
user.cpp:45:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf (fin, "%d%d%d", &tasks, &unu, &proc ) ;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !