Borderou de evaluare (job #2677036)

Utilizator YusyBossFares Yusuf YusyBoss Data 25 noiembrie 2020 18:30:20
Problema Binar Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 60

Raport evaluator

Compilare: main.cpp: In function 'void mysort(int, int, int)': main.cpp:22:26: warning: array subscript has type 'char' [-Wchar-subscripts] f[mat[pozcur][poz[i]]]++; ^ main.cpp:29:41: warning: array subscript has type 'char' [-Wchar-subscripts] poz[begin + ind[mat[pozcur][cpoz[i]]]++] = cpoz[i]; ^ main.cpp:14:15: warning: variable 'nr1' set but not used [-Wunused-but-set-variable] int i, nr0, nr1; ^~~ main.cpp: In function 'int main()': main.cpp:60:30: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[2001]' [-Wformat=] fscanf(fin, "%s", &mat[i]); ^ main.cpp:58:30: 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:60:31: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%s", &mat[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
13ms393kbOK10
24ms524kbOK10
310ms1179kbOK10
438ms2228kbOK10
566ms3145kbOK10
690ms3538kbOK10
7100ms3801kbTime limit exceeded0
8101ms3932kbTime limit exceeded0
9101ms4194kbTime limit exceeded0
10100ms4194kbTime limit exceeded0
Punctaj total60

Ceva nu functioneaza?