Pagini recente » Borderou de evaluare (job #1750733) | Borderou de evaluare (job #2089973) | Borderou de evaluare (job #733363) | Borderou de evaluare (job #2419870) | Borderou de evaluare (job #2251836)
Borderou de evaluare (job #2251836)
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:35:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pos[s[i]][sz[s[i]]++] = i;
^
user.cpp:35:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
pos[s[i]][sz[s[i]]++] = i;
^
user.cpp:40:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cnt[i][s[i - 1]]++;
^
user.cpp:44: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 | 5444kb | OK | 10 |
| 3 | 32ms | 11716kb | OK | 10 | 20 |
| 4 | 80ms | 11716kb | OK | 10 |
| 5 | Depăşit | 9724kb | Time limit exceeded. | 0 | 0 |
| 6 | Depăşit | 11768kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 9724kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 13980kb | Time limit exceeded. | 0 | 0 |
| 9 | 664ms | 16020kb | OK | 10 |
| 10 | Depăşit | 18072kb | Time limit exceeded. | 0 |
| Punctaj total | 40 |