Pagini recente » Cod sursa (job #1781201) | Borderou de evaluare (job #1516900) | Cod sursa (job #83082) | Borderou de evaluare (job #946364) | Borderou de evaluare (job #2662104)
Borderou de evaluare (job #2662104)
Raport evaluator
Compilare:
main.cpp: In function 'void adaug(std::__cxx11::string, int)':
main.cpp:22:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < s.size(); ++i) {
~~^~~~~~~~~~
main.cpp: In function 'int nr_aparitii(std::__cxx11::string)':
main.cpp:37:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < s.size(); ++i) {
~~^~~~~~~~~~
main.cpp: In function 'int cmlpc(std::__cxx11::string)':
main.cpp:50:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < s.size(); ++i) {
~~^~~~~~~~~~
main.cpp:55:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (aux -> nr > 0 && i < s.size() - 1 || i == s.size() - 1 && aux -> nr > 1)
~~^~~~~~~~~~~~~~
main.cpp:55:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (aux -> nr > 0 && i < s.size() - 1 || i == s.size() - 1 && aux -> nr > 1)
~~^~~~~~~~~~~~~~~
main.cpp:55:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
if (aux -> nr > 0 && i < s.size() - 1 || i == s.size() - 1 && aux -> nr > 1)
~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 3ms | 131kb | OK | 5 | 5 |
| 2 | 3ms | 131kb | OK | 5 | 5 |
| 3 | 3ms | 131kb | OK | 5 | 5 |
| 4 | 3ms | 131kb | OK | 5 | 5 |
| 5 | 4ms | 131kb | Incorect | 0 | 0 |
| 6 | 5ms | 131kb | Incorect | 0 | 0 |
| 7 | 7ms | 262kb | Incorect | 0 | 0 |
| 8 | 9ms | 262kb | Incorect | 0 | 0 |
| 9 | 15ms | 524kb | Incorect | 0 | 0 |
| 10 | 23ms | 1441kb | Incorect | 0 | 0 |
| 11 | 31ms | 262kb | Incorect | 0 | 0 |
| 12 | 48ms | 2772kb | Incorect | 0 | 0 |
| 13 | 54ms | 2359kb | Incorect | 0 | 0 |
| 14 | 52ms | 786kb | Incorect | 0 | 0 |
| 15 | 66ms | 655kb | Incorect | 0 | 0 |
| 16 | 145ms | 20447kb | Incorect | 0 |
| 17 | 70ms | 262kb | Incorect | 0 | 0 |
| 18 | 157ms | 15204kb | Incorect | 0 |
| 19 | 59ms | 262kb | Incorect | 0 | 0 |
| 20 | 159ms | 25690kb | Incorect | 0 |
| Punctaj total | 20 |