Borderou de evaluare (job #2249978)

Utilizator ApostolIlieDanielApostol Daniel ApostolIlieDaniel Data 30 septembrie 2018 12:00:31
Problema Balbaiala Status done
Runda Algoritmiada 2018 Runda Finala Juniori Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:37:24: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100001]’ [-Wformat=] fscanf (fin, "%s", &a); ^ user.cpp:46:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[300001]’ [-Wformat=] fscanf (fin, "%s", &b); ^ user.cpp:35:37: warning: unused variable ‘c’ [-Wunused-variable] int n, q, i, st, dr, sol, mij, j, c; ^ user.cpp:36:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%d%d", &n, &q); ^ user.cpp:37:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%s", &a); ^ user.cpp:46:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%s", &b); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms13628kbOK1020
24ms13636kbOK10
38ms13756kbOK1020
412ms13736kbOK10
552ms14904kbOK1030
668ms14832kbOK10
780ms14228kbOK10
896ms15656kbOK1030
980ms17708kbOK10
10144ms17704kbOK10
Punctaj total100

Ceva nu functioneaza?