Borderou de evaluare (job #1697596)

Utilizator andreicoman299Coman Andrei andreicoman299 Data 2 mai 2016 15:10:41
Problema Bridge Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:19:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=] fscanf(fi,"%d", &v[i]); ^ user.cpp:51:27: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(v[dt[i]]!=1 && v[dt[i]]!=2) ^ user.cpp:51:42: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(v[dt[i]]!=1 && v[dt[i]]!=2) ^ user.cpp:52:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] d[dt[i]][j+1]=(d[dt[i]][j+1]+d[i][j])%MOD; ^ user.cpp:52:43: warning: array subscript has type ‘char’ [-Wchar-subscripts] d[dt[i]][j+1]=(d[dt[i]][j+1]+d[i][j])%MOD; ^ user.cpp:16:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d", &n, &m); ^ user.cpp:19:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d", &v[i]); ^ user.cpp:27:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d", &x); ^ user.cpp:57:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d%d", &x, &k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
168ms62840kbOK10
268ms62840kbOK10
368ms62840kbOK10
468ms62840kbOK10
576ms62800kbKilled by signal 11(SIGSEGV).0
676ms62808kbKilled by signal 11(SIGSEGV).0
772ms62804kbKilled by signal 11(SIGSEGV).0
876ms62800kbKilled by signal 11(SIGSEGV).0
976ms62804kbKilled by signal 11(SIGSEGV).0
1076ms62800kbKilled by signal 11(SIGSEGV).0
Punctaj total40

Ceva nu functioneaza?