Borderou de evaluare (job #2744170)
Utilizator | Data | 23 aprilie 2021 22:39:16 | |
---|---|---|---|
Problema | Zaruri | Status | done |
Runda | Arhiva Monthly | Compilator | c-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.c:3:1: error: unknown type name 'using'
using namespace std;
^~~~~
main.c:3:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
using namespace std;
^~~
main.c: In function 'main':
main.c:10:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("zaruri.in","r",stdin);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:11:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("zaruri.out","w",stdout);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:13:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !