Borderou de evaluare (job #1989216)

Utilizator dimi999Dimitriu Andrei dimi999 Data 6 iunie 2017 16:20:30
Problema Secventa 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:13:7: error: request for member ‘get’ in ‘f’, which is of pointer type ‘FILE* {aka _IO_FILE*}’ (maybe you meant to use ‘->’ ?) f.get(); ^ user.cpp:15:7: error: request for member ‘getline’ in ‘f’, which is of pointer type ‘FILE* {aka _IO_FILE*}’ (maybe you meant to use ‘->’ ?) f.getline(s,3500001); ^ user.cpp:19:9: error: ‘x’ was not declared in this scope x=0; ^ user.cpp:12:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&n,&k); ^

Ceva nu functioneaza?