Pagini recente » zigsort | Borderou de evaluare (job #1973821) | Cod sursa (job #543711) | Borderou de evaluare (job #3196088) | Borderou de evaluare (job #2538284)
Borderou de evaluare (job #2538284)
Raport evaluator
Compilare:
main.cpp: In function 'void calc_hash(const string&, std::vector<long long int>&)':
main.cpp:20:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 1; i < a.size(); i++)
~~^~~~~~~~~~
main.cpp: In function 'int calc_lcp(const std::vector<long long int>&, const std::vector<long long int>&)':
main.cpp:27:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i + pas < a.size() && i + pas < b.size() && a[i + pas] == b[i + pas])
~~~~~~~~^~~~~~~~~~
main.cpp:27:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (i + pas < a.size() && i + pas < b.size() && a[i + pas] == b[i + pas])
~~~~~~~~^~~~~~~~~~
main.cpp: In function 'bool cmp(const std::pair<std::__cxx11::basic_string<char>, std::vector<long long int> >&, const std::pair<std::__cxx11::basic_string<char>, std::vector<long long int> >&)':
main.cpp:35:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return (l < a.first.size() && l < b.first.size() && a.first[l] < b.first[l]);
~~^~~~~~~~~~~~~~~~
main.cpp:35:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
return (l < a.first.size() && l < b.first.size() && a.first[l] < b.first[l]);
~~^~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:39:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cli.in", "r", stdin);
^
main.cpp:40:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("cli.out", "w", stdout);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 117ms | 56098kb | Incorect | 0 |
| 2 | 116ms | 56098kb | Incorect | 0 |
| 3 | 118ms | 56229kb | Incorect | 0 |
| 4 | 115ms | 56098kb | Incorect | 0 |
| 5 | 119ms | 56098kb | Incorect | 0 |
| 6 | 115ms | 56098kb | Incorect | 0 |
| 7 | 130ms | 56229kb | Incorect | 0 |
| 8 | 129ms | 56229kb | Incorect | 0 |
| 9 | 132ms | 56229kb | Incorect | 0 |
| 10 | 130ms | 56229kb | Incorect | 0 |
| 11 | 173ms | 57671kb | Incorect | 0 |
| 12 | 202ms | 57671kb | Incorect | 0 |
| 13 | 203ms | 57671kb | Incorect | 0 |
| 14 | 197ms | 57671kb | Incorect | 0 |
| 15 | 189ms | 57671kb | Incorect | 0 |
| 16 | 193ms | 57671kb | Incorect | 0 |
| 17 | 251ms | 68943kb | Incorect | 0 |
| 18 | 264ms | 69074kb | Incorect | 0 |
| 19 | 248ms | 68943kb | Incorect | 0 |
| 20 | 256ms | 68943kb | Incorect | 0 |
| Punctaj total | 0 |