Pagini recente » Borderou de evaluare (job #2134164) | Borderou de evaluare (job #94324) | Borderou de evaluare (job #641343) | Borderou de evaluare (job #1465709) | Borderou de evaluare (job #2796315)
Borderou de evaluare (job #2796315)
Raport evaluator
Compilare:
main.cpp: In function 'int code_hash(std::string&)':
main.cpp:30:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | for ( i = 0; i < s.size(); i++ )
| ~~^~~~~~~~~~
main.cpp: In function 'bool check(std::string&, std::string&, int)':
main.cpp:50:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | while ( i < b.size() && a[i + poz] == b[i] ) {
| ~~^~~~~~~~~~
main.cpp:53:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | return i == b.size();
| ~~^~~~~~~~~~~
main.cpp: In function 'int search(std::string&, std::string&)':
main.cpp:63:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
63 | while ( i < query.size() && ans < NMAX ) {
| ~~^~~~~~~~~~~~~~
main.cpp:57:48: warning: unused variable 'code_add' [-Wunused-variable]
57 | int code_query, code_pattern, pow, i, ans, code_add;
| ^~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 1ms | 184kb | OK | 2 | 2 |
2 | 1ms | 184kb | OK | 2 | 2 |
3 | 1ms | 184kb | OK | 2 | 2 |
4 | 2ms | 184kb | OK | 2 | 2 |
5 | 1ms | 184kb | OK | 2 | 2 |
6 | 1ms | 184kb | OK | 2 | 2 |
7 | 2ms | 184kb | OK | 2 | 2 |
8 | 2ms | 184kb | OK | 2 | 2 |
9 | 1ms | 184kb | OK | 2 | 2 |
10 | 1ms | 184kb | OK | 2 | 2 |
11 | 1ms | 184kb | OK | 2 | 2 |
12 | 1ms | 184kb | OK | 2 | 2 |
13 | 1ms | 184kb | Incorect | 0 | 0 |
14 | 1ms | 184kb | OK | 2 | 2 |
15 | 2ms | 184kb | OK | 2 | 2 |
16 | 1ms | 184kb | OK | 2 | 2 |
17 | 1ms | 184kb | OK | 2 | 2 |
18 | 1ms | 184kb | OK | 2 | 2 |
19 | 1ms | 184kb | OK | 2 | 2 |
20 | 1ms | 184kb | OK | 2 | 2 |
21 | 36ms | 2228kb | Incorect | 0 | 0 |
22 | 35ms | 2424kb | Incorect | 0 |
23 | 47ms | 2285kb | Incorect | 0 |
24 | 18ms | 2441kb | Incorect | 0 |
25 | 30ms | 2211kb | OK | 2 |
26 | 41ms | 2342kb | Incorect | 0 |
27 | 44ms | 2359kb | Incorect | 0 |
28 | 36ms | 2265kb | Incorect | 0 |
29 | 60ms | 2236kb | OK | 2 |
30 | 43ms | 2482kb | Incorect | 0 |
31 | 68ms | 2453kb | Incorect | 0 | 0 |
32 | 32ms | 2367kb | Incorect | 0 |
33 | 35ms | 2150kb | OK | 2 |
34 | 29ms | 2289kb | Incorect | 0 |
35 | 42ms | 2273kb | Incorect | 0 |
36 | 17ms | 2326kb | Incorect | 0 |
37 | 37ms | 2269kb | Incorect | 0 |
38 | 24ms | 2383kb | Incorect | 0 |
39 | 14ms | 2387kb | Incorect | 0 |
40 | 59ms | 2297kb | OK | 2 |
41 | 40ms | 2162kb | OK | 2 | 0 |
42 | 45ms | 2191kb | OK | 2 |
43 | 43ms | 2142kb | Incorect | 0 |
44 | 42ms | 2248kb | Incorect | 0 |
45 | 15ms | 2420kb | Incorect | 0 |
46 | 35ms | 2367kb | Incorect | 0 |
47 | 40ms | 2355kb | Incorect | 0 |
48 | 44ms | 2285kb | Incorect | 0 |
49 | 303ms | 3420kb | Time limit exceeded | 0 |
50 | 14ms | 2453kb | Incorect | 0 |
Punctaj total | 38 |