Borderou de evaluare (job #2251832)

Utilizator mihai.alphamihai craciun mihai.alpha Data 1 octombrie 2018 23:48:49
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:32:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0;i < s.size();i++) ~~^~~~~~~~~~ user.cpp:44:24: warning: array subscript has type ‘char’ [-Wchar-subscripts] cnt[i][s[i - 1]]++; ^ user.cpp:48: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
10ms3392kbOK1020
24ms5440kbOK10
332ms11720kbOK1020
480ms11720kbOK10
5Depăşit9720kbTime limit exceeded.00
6Depăşit11772kbTime limit exceeded.0
7Depăşit9724kbTime limit exceeded.0
8Depăşit13980kbTime limit exceeded.00
9668ms16024kbOK10
10Depăşit18076kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?