Borderou de evaluare (job #2134961)
Utilizator | Data | 18 februarie 2018 14:34:50 | |
---|---|---|---|
Problema | Farfurii | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:9:13: error: conflicting declaration ‘long long int n’
long long k,n;
^
user.cpp:8:5: note: previous declaration as ‘int n’
int n,power,nrcautat;
^
user.cpp: In function ‘void read()’:
user.cpp:13:31: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(f,"%lld %lld",&n,&k);
^
user.cpp:13:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%lld %lld",&n,&k);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !