Borderou de evaluare (job #2290072)

Utilizator ApostolIlieDanielApostol Daniel ApostolIlieDaniel Data 25 noiembrie 2018 18:31:27
Problema Barbar Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:74:26: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[1001]' [-Wformat=] fscanf (fin, "%s", &s); ^ main.cpp:72:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%d%d", &n, &m); ^ main.cpp:74:27: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%s", &s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
115ms4194kbWrong answer!0
213ms4194kbOk!10
315ms4194kbOk!10
480ms4980kbWrong answer!0
569ms12189kbKilled by Signal 110
675ms12320kbKilled by Signal 110
733ms12451kbKilled by Signal 110
883ms12582kbKilled by Signal 110
955ms14811kbKilled by Signal 110
1043ms12582kbKilled by Signal 110
Punctaj total20

Ceva nu functioneaza?