Borderou de evaluare (job #1963768)
Utilizator | Data | 12 aprilie 2017 19:15:17 | |
---|---|---|---|
Problema | Sushi2 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:64:16: error: invalid operands of types ‘FILE* {aka _IO_FILE*}’ and ‘long long int’ to binary ‘operator>>’
fin >> spam;
^
user.cpp:60:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%lld%lld",&n,&m);
^
user.cpp:68:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%lld",&x);
^
user.cpp:83:44: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%lld%lld%lld",&a,&b,&c);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !