Pagini recente » Borderou de evaluare (job #1444368) | Borderou de evaluare (job #292095) | Borderou de evaluare (job #2002819) | Borderou de evaluare (job #375673) | Borderou de evaluare (job #2251832)
Borderou de evaluare (job #2251832)
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 |
1 | 0ms | 3392kb | OK | 10 | 20 |
2 | 4ms | 5440kb | OK | 10 |
3 | 32ms | 11720kb | OK | 10 | 20 |
4 | 80ms | 11720kb | OK | 10 |
5 | Depăşit | 9720kb | Time limit exceeded. | 0 | 0 |
6 | Depăşit | 11772kb | Time limit exceeded. | 0 |
7 | Depăşit | 9724kb | Time limit exceeded. | 0 |
8 | Depăşit | 13980kb | Time limit exceeded. | 0 | 0 |
9 | 668ms | 16024kb | OK | 10 |
10 | Depăşit | 18076kb | Time limit exceeded. | 0 |
Punctaj total | 40 |