Borderou de evaluare (job #1962594)
Utilizator | Data | 11 aprilie 2017 21:42:07 | |
---|---|---|---|
Problema | Mindist | 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:111:45: error: too few arguments to function ‘void update1(int, int, int, int, int, int)’
update1(1,n,v1[i],v2[i],-v1[i]-v2[i]);
^
user.cpp:39:6: note: declared here
void update1(int s,int e,int x,int y,int val,int nod)
^
user.cpp:118:44: error: too few arguments to function ‘void update1(int, int, int, int, int, int)’
update1(1,n,v1[i],v2[i],v2[i]-v1[i]);
^
user.cpp:39:6: note: declared here
void update1(int s,int e,int x,int y,int val,int nod)
^
user.cpp:125:44: error: too few arguments to function ‘void update1(int, int, int, int, int, int)’
update1(1,n,v1[i],v2[i],v1[i]-v2[i]);
^
user.cpp:39:6: note: declared here
void update1(int s,int e,int x,int y,int val,int nod)
^
user.cpp:132:44: error: too few arguments to function ‘void update1(int, int, int, int, int, int)’
update1(1,n,v1[i],v2[i],v1[i]+v2[i]);
^
user.cpp:39:6: note: declared here
void update1(int s,int e,int x,int y,int val,int nod)
^
user.cpp:98:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("mindist.in","r",stdin);
^
user.cpp:99:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("mindist.out","w",stdout);
^
user.cpp:100:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:107:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v1[i],&v2[i]);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !