Borderou de evaluare (job #2007741)

Utilizator silkMarin Dragos silk Data 3 august 2017 21:53:57
Problema Substr Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘void Suffix()’: user.cpp:20:39: warning: array subscript has type ‘char’ [-Wchar-subscripts] for(i = 1; i <= N; ++i) v[ s[i-1] ].push_back(i); ^ user.cpp: In function ‘bool good(int)’: user.cpp:78:38: warning: operation on ‘cnt’ may be undefined [-Wsequence-point] cnt = (d[i] >= f ? ++cnt : 1); ^ user.cpp: In function ‘int main()’: user.cpp:91:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d %d\n",&N,&K); ^ user.cpp:92:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%s",s); ^ user.cpp: In function ‘void Suffix()’: user.cpp:51:38: warning: ‘p’ may be used uninitialized in this function [-Wmaybe-uninitialized] P[i+1][idx] = (P[i][p+k] == P[i][idx+k] ? t : ++t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit20796kbTime limit exceeded.0
2Depăşit20796kbTime limit exceeded.0
3Depăşit20796kbTime limit exceeded.0
440ms19956kbOK10
596ms20800kbOK10
696ms20800kbOK10
736ms19752kbOK10
836ms19752kbOK10
936ms19748kbOK10
1084ms20588kbOK10
Punctaj total70

Ceva nu functioneaza?