Pagini recente » Borderou de evaluare (job #2149607) | Borderou de evaluare (job #1856291) | Borderou de evaluare (job #2804015) | Borderou de evaluare (job #764466) | Borderou de evaluare (job #1784844)
Borderou de evaluare (job #1784844)
Raport evaluator
Compilare:
user.cpp: In function ‘void reset(T*)’:
user.cpp:21:98: 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:68: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:68: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:43: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:77: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:78: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:98: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:105:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op);
^
user.cpp:108: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:113: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 | 4ms | 2412kb | OK | 4 |
2 | 4ms | 2444kb | OK | 4 |
3 | 20ms | 2760kb | Incorect | 0 |
4 | 404ms | 3980kb | Incorect | 0 |
5 | 1704ms | 7876kb | OK | 4 |
6 | 1688ms | 11204kb | OK | 4 |
7 | 768ms | 9964kb | OK | 4 |
8 | 784ms | 13772kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 1808ms | 9740kb | OK | 4 |
10 | 1528ms | 10952kb | OK | 4 |
11 | 1740ms | 9456kb | OK | 4 |
12 | 1200ms | 11296kb | OK | 4 |
13 | 1804ms | 9732kb | OK | 4 |
14 | 1976ms | 9044kb | OK | 4 |
15 | 1140ms | 11616kb | OK | 4 |
16 | 1624ms | 9612kb | OK | 4 |
17 | 1596ms | 14708kb | Killed by signal 11(SIGSEGV). | 0 |
18 | 748ms | 17308kb | Killed by signal 11(SIGSEGV). | 0 |
19 | 548ms | 14376kb | Killed by signal 11(SIGSEGV). | 0 |
20 | 900ms | 18968kb | Killed by signal 11(SIGSEGV). | 0 |
21 | 1880ms | 20952kb | OK | 4 |
22 | 2092ms | 20572kb | OK | 4 |
23 | 1696ms | 7792kb | OK | 4 |
24 | 2228ms | 10036kb | OK | 4 |
25 | 2200ms | 15168kb | OK | 4 |
Punctaj total | 72 |