Borderou de evaluare (job #2182480)
| Utilizator | Data | 22 martie 2018 13:26:04 | |
|---|---|---|---|
| Problema | Algoritmul lui Gauss | Status | done |
| Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void solve()’:
user.cpp:70:25: error: too many arguments to function ‘int zero(double)’
if(!zero(i,j)) {
^
user.cpp:50:5: note: declared here
int zero(double x) {
^
user.cpp:55:16: warning: unused variable ‘okk’ [-Wunused-variable]
int i,j,ok,okk;
^
user.cpp: In function ‘void citire()’:
user.cpp:15:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d%d",&n,&m);
^
user.cpp:17:53: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(j=1;j<=m+1;j++) fscanf(f,"%lf",&a[i][j]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
