Borderou de evaluare (job #2264960)

Utilizator ApostolIlieDanielApostol Daniel ApostolIlieDaniel Data 20 octombrie 2018 13:53:05
Problema Dinti Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'int main()': main.cpp:31:24: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[1000001]' [-Wformat=] fscanf (fin, "%s", &a); ^ main.cpp:42:26: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[21]' [-Wformat=] fscanf (fin, "%s", &b); ^ main.cpp:30:37: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%d%d%d", &n, &m, &l); ^ main.cpp:31:25: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%s", &a); ^ main.cpp:42:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%s", &b); ^

Ceva nu functioneaza?