Borderou de evaluare (job #2478179)
Utilizator | Data | 21 octombrie 2019 18:57:24 | |
---|---|---|---|
Problema | Ec | 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:75:15: error: 'gets' was not declared in this scope
gets(s);
^
main.cpp:30:30: warning: unused variable 'j' [-Wunused-variable]
int k,x,a,b,c,d,f,nr,n,y,j,i,r,p,rez1,rez2,gr1,gr2,rez,o,s2,s1,nr2;
^
main.cpp:31:9: warning: unused variable 'l' [-Wunused-variable]
int l,t;
^
main.cpp:28:31: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.in","r",stdin);
^
main.cpp:29:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.out","w",stdout);
^
main.cpp:48:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&y,&x);
^
main.cpp:53:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[z]);
^
main.cpp:54:16: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !