Borderou de evaluare (job #2246854)

Utilizator ApostolIlieDanielApostol Daniel ApostolIlieDaniel Data 27 septembrie 2018 17:17:46
Problema Perb Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int solve(int, int)’: user.cpp:15:18: warning: unused variable ‘s’ [-Wunused-variable] int mn, sl, d, s, mx, i, j; ^ user.cpp: In function ‘int main()’: user.cpp:44:24: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[601]’ [-Wformat=] fscanf (fin, "%s", &s); ^ user.cpp:43: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); ^ user.cpp:44:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%s", &s); ^ user.cpp:54:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf (fin, "%d%d", &st, &dr); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1344kbOK10
20ms1396kbOK10
320ms1556kbOK10
436ms1440kbOK10
5120ms1396kbOK10
6256ms1796kbOK10
7700ms2032kbOK10
8Depăşit2264kbTime limit exceeded.0
9Depăşit1572kbTime limit exceeded.0
10Depăşit1472kbTime limit exceeded.0
Punctaj total70

Ceva nu functioneaza?