Borderou de evaluare (job #1340150)
Utilizator | Data | 11 februarie 2015 16:25:53 | |
---|---|---|---|
Problema | Paritate | Status | done |
Runda | Arhiva de probleme | Compilator | c | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.c:5:1: error: unknown type name ‘using’
using namespace std;
^
user.c:5:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’
using namespace std;
^
user.c:7:1: error: initializer element is not constant
FILE *in=fopen("paritate.in","r");
^
user.c:8:1: error: initializer element is not constant
FILE *out=fopen("paritate.out","w");
^
user.c: In function ‘main’:
user.c:50:13: warning: implicit declaration of function ‘itoa’ [-Wimplicit-function-declaration]
itoa(sum%2,asd,10);
^
user.c:27:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%s",s);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !