Pagini recente » Borderou de evaluare (job #2276442) | Borderou de evaluare (job #2972588) | Borderou de evaluare (job #2824533) | Borderou de evaluare (job #1838553) | Borderou de evaluare (job #2251830)
Borderou de evaluare (job #2251830)
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 |
1 | 0ms | 3380kb | OK | 10 | 20 |
2 | 4ms | 5428kb | OK | 10 |
3 | 32ms | 11708kb | OK | 10 | 20 |
4 | 84ms | 11704kb | OK | 10 |
5 | Depăşit | 9700kb | Time limit exceeded. | 0 | 0 |
6 | Depăşit | 11748kb | Time limit exceeded. | 0 |
7 | Depăşit | 9708kb | Time limit exceeded. | 0 |
8 | Depăşit | 13960kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 16012kb | Time limit exceeded. | 0 |
10 | Depăşit | 18056kb | Time limit exceeded. | 0 |
Punctaj total | 40 |