Borderou de evaluare (job #2251830)

Utilizator mihai.alphamihai craciun mihai.alpha Data 1 octombrie 2018 23:48:13
Problema Balbaiala Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘bool chk(int)’: user.cpp:17:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < t.size(); i++) { ~~^~~~~~~~~~ user.cpp:18:19: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(sz[t[i]] < cnt[p + 1][t[i]] + r) { ^ user.cpp:18:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(sz[t[i]] < cnt[p + 1][t[i]] + r) { ^ user.cpp:21:21: warning: array subscript has type ‘char’ [-Wchar-subscripts] p = pos[t[i]][cnt[p + 1][t[i]] + r - 1]; ^ user.cpp:21:38: warning: array subscript has type ‘char’ [-Wchar-subscripts] p = pos[t[i]][cnt[p + 1][t[i]] + r - 1]; ^ user.cpp: In function ‘int main()’: user.cpp:31:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0;i < s.size();i++) ~~^~~~~~~~~~ user.cpp:43:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] cnt[i][s[i - 1]]++; ^ user.cpp:47:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0;i < t.size();i++) ~~^~~~~~~~~~ user.cpp:27:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("balbaiala.in", "r", stdin); ^ user.cpp:28:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("balbaiala.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms3380kbOK1020
24ms5428kbOK10
332ms11708kbOK1020
484ms11704kbOK10
5Depăşit9700kbTime limit exceeded.00
6Depăşit11748kbTime limit exceeded.0
7Depăşit9708kbTime limit exceeded.0
8Depăşit13960kbTime limit exceeded.00
9Depăşit16012kbTime limit exceeded.0
10Depăşit18056kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?