Pagini recente » Borderou de evaluare (job #3265670) | Borderou de evaluare (job #2761216) | Borderou de evaluare (job #1957446) | Borderou de evaluare (job #429432) | Borderou de evaluare (job #2446581)
Borderou de evaluare (job #2446581)
Raport evaluator
Compilare:
main.cpp: In function 'int SUFFIX_ARRAY::lcp(const string&, int)':
main.cpp:101:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (ans = 0; ans < _s.size() && ans < n - poz; ++ans) {
~~~~^~~~~~~~~~~
main.cpp: In function 'bool SUFFIX_ARRAY::smaller(const string&, int)':
main.cpp:109:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < _s.size() && i < n - poz; ++i) {
~~^~~~~~~~~~~
main.cpp:113:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return (_s.size() <= n - poz);
~~~~~~~~~~^~~~~~~~~~
main.cpp: In function 'int SUFFIX_ARRAY::query(int, int)':
main.cpp:128:23: warning: division by zero [-Wdiv-by-zero]
cout << 0 / 0;
~~^~~
main.cpp: In function 'long long int SUFFIX_ARRAY::ghiceste()':
main.cpp:141:23: warning: division by zero [-Wdiv-by-zero]
cout << 0 / 0;
~~^~~
main.cpp: In function 'int SUFFIX_ARRAY::query(int, int)':
main.cpp:137:5: warning: control reaches end of non-void function [-Wreturn-type]
}
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 5ms | 524kb | OK | 5 |
| 2 | 14ms | 1441kb | OK | 5 |
| 3 | 14ms | 1441kb | OK | 5 |
| 4 | 66ms | 5242kb | OK | 5 |
| 5 | 79ms | 6815kb | Incorect | 0 |
| 6 | 62ms | 6815kb | OK | 5 |
| 7 | 60ms | 6815kb | OK | 5 |
| 8 | 66ms | 6815kb | Incorect | 0 |
| 9 | 74ms | 8257kb | OK | 5 |
| 10 | 74ms | 8257kb | OK | 5 |
| 11 | 82ms | 8257kb | Incorect | 0 |
| 12 | 5ms | 655kb | OK | 5 |
| 13 | 6ms | 655kb | OK | 5 |
| 14 | 7ms | 655kb | OK | 5 |
| 15 | 7ms | 655kb | OK | 5 |
| 16 | 19ms | 2097kb | Incorect | 0 |
| 17 | 19ms | 2097kb | Incorect | 0 |
| 18 | 12ms | 1310kb | OK | 5 |
| 19 | 14ms | 1441kb | OK | 5 |
| 20 | 14ms | 1441kb | OK | 5 |
| Punctaj total | 75 |