Borderou de evaluare (job #2453692)
Utilizator | Data | 5 septembrie 2019 11:44:53 | |
---|---|---|---|
Problema | Banuti | 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:68:9: error: 'i' was not declared in this scope
for(i=0;i<minn;++i)
^
main.cpp:41:9: warning: unused variable 'nod' [-Wunused-variable]
int nod;
^~~
main.cpp:28:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("banuti.in","r",stdin);
^
main.cpp:29:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("banuti.out","w",stdout);
^
main.cpp:31:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:34:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !