Pagini recente » Borderou de evaluare (job #989324) | Borderou de evaluare (job #1781318) | Borderou de evaluare (job #438678) | Borderou de evaluare (job #2499362) | Borderou de evaluare (job #1429240)
Borderou de evaluare (job #1429240)
Raport evaluator
Compilare:
user.cpp: In function ‘void giveValues()’:
user.cpp:27:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
x1 = (x1 * sigma + val[ F[i] ]) % MOD;
^
user.cpp:28:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
x2 = (x2 * sigma + val[ F[i] ]) % MOD_2;
^
user.cpp: In function ‘bool Find(int, int)’:
user.cpp:34:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < Hash[q1].size(); ++i)
^
user.cpp: In function ‘void Solve()’:
user.cpp:59:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
q1 = (q1 * sigma + val[ T[i] ] ) % MOD;
^
user.cpp:60:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
q2 = (q2 * sigma + val[ T[i] ] ) % MOD_2;
^
user.cpp:69:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
q1 = (q1 * sigma + val[ T[i] ] ) % MOD;
^
user.cpp:70:38: warning: array subscript has type ‘char’ [-Wchar-subscripts]
q2 = (q2 * sigma + val[ T[i] ] ) % MOD_2;
^
user.cpp:72:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
q1 -= val[ T[i - len_2] ] * rest_1;
^
user.cpp:73:33: warning: array subscript has type ‘char’ [-Wchar-subscripts]
q2 -= val[ T[i - len_2] ] * rest_2;
^
user.cpp: In function ‘void Read()’:
user.cpp:42:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets( T );
^
/tmp/cckc9eTG.o: In function `Read()':
user.cpp:(.text+0x347): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 16ms | 11976kb | OK | 10 | 0 |
2 | 16ms | 11976kb | OK | 10 |
3 | 16ms | 12004kb | OK | 10 |
4 | 20ms | 12080kb | OK | 10 |
5 | 44ms | 12400kb | OK | 10 |
6 | 132ms | 13412kb | OK | 10 |
7 | 664ms | 17616kb | OK | 10 |
8 | Depăşit | 22468kb | Time limit exceeded. | 0 |
9 | Depăşit | 22472kb | Time limit exceeded. | 0 |
10 | Depăşit | 22464kb | Time limit exceeded. | 0 |
Punctaj total | 0 |