Pagini recente » Borderou de evaluare (job #1600614) | Borderou de evaluare (job #2914992) | Borderou de evaluare (job #1725311) | Borderou de evaluare (job #190868) | Borderou de evaluare (job #1785248)
Borderou de evaluare (job #1785248)
Raport evaluator
Compilare:
user.cpp: In function ‘void reset(T*)’:
user.cpp:21:100: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nod->hsh.first = pwr[nod->dr->siz+1] * nod->st->hsh.first + pwr[nod->dr->siz] * alf1[nod->val] + nod->dr->hsh.first;
^
user.cpp:22:100: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nod->hsh.second = pwr[nod->dr->siz+1] * nod->st->hsh.second + pwr[nod->dr->siz] * alf2[nod->val] + nod->dr->hsh.second;
^
user.cpp: In function ‘T* insert(T*, int, char)’:
user.cpp:67:68: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return join3(tmp.first, new T {ch, 1, rand(), make_pair(alf1[ch], alf2[ch]), &nil, &nil}, tmp.second); }
^
user.cpp:67:78: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return join3(tmp.first, new T {ch, 1, rand(), make_pair(alf1[ch], alf2[ch]), &nil, &nil}, tmp.second); }
^
user.cpp: In function ‘std::pair<T*, T*> split(T*, int)’:
user.cpp:42:46: warning: control reaches end of non-void function [-Wreturn-type]
return make_pair(nod, tmp.second); } }
^
user.cpp: In function ‘int main()’:
user.cpp:71:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("diez.in", "r", stdin);
^
user.cpp:72:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("diez.out", "w", stdout);
^
user.cpp:92:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d %s", &n, &m, str);
^
user.cpp:97:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op);
^
user.cpp:100:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %c", &pos, &ch);
^
user.cpp:104:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &x, &y, &l);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 4356kb | Incorect | 0 |
2 | 8ms | 4384kb | Incorect | 0 |
3 | 24ms | 4704kb | Incorect | 0 |
4 | 456ms | 5920kb | Incorect | 0 |
5 | 1812ms | 9816kb | Incorect | 0 |
6 | 1756ms | 13144kb | OK | 4 |
7 | 744ms | 11916kb | Incorect | 0 |
8 | 1024ms | 18080kb | OK | 4 |
9 | 1796ms | 11684kb | OK | 4 |
10 | 1516ms | 12888kb | OK | 4 |
11 | 1924ms | 11404kb | OK | 4 |
12 | 1136ms | 13244kb | Incorect | 0 |
13 | 1816ms | 11680kb | Incorect | 0 |
14 | 1844ms | 10992kb | Incorect | 0 |
15 | 1156ms | 13568kb | OK | 4 |
16 | 1664ms | 11552kb | Incorect | 0 |
17 | 2344ms | 18284kb | OK | 4 |
18 | 1260ms | 24096kb | OK | 4 |
19 | 1296ms | 24056kb | OK | 4 |
20 | 1444ms | 23820kb | OK | 4 |
21 | 1904ms | 22892kb | OK | 4 |
22 | 2132ms | 22512kb | OK | 4 |
23 | 1816ms | 9732kb | Incorect | 0 |
24 | 2172ms | 11976kb | OK | 4 |
25 | 2128ms | 17116kb | OK | 4 |
Punctaj total | 56 |