Pagini recente » Borderou de evaluare (job #583200) | Borderou de evaluare (job #2052563) | Borderou de evaluare (job #878367) | Borderou de evaluare (job #652654) | Borderou de evaluare (job #2976979)
Borderou de evaluare (job #2976979)
Raport evaluator
Compilare:
main.cpp: In function 'int64_t find_order(std::string)':
main.cpp:13:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | for(int i = 1; i <= s.size(); i++) nr_perm = nr_perm * i;
| ~~^~~~~~~~~~~
main.cpp:24:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | for(int poz = 0; poz < s.size(); poz++) {
| ~~~~^~~~~~~~~~
main.cpp: In function 'std::string find_nth(int64_t, std::string)':
main.cpp:48:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | for(int i = 1; i <= _s.size(); i++) nr_perm = nr_perm * i;
| ~~^~~~~~~~~~~~
main.cpp:55:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | for(int poz = 0; poz < s.size(); poz++) {
| ~~~~^~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | OK | 5 |
2 | 0ms | 184kb | OK | 5 |
3 | 0ms | 184kb | OK | 5 |
4 | 0ms | 184kb | Incorect | 0 |
5 | 0ms | 184kb | Incorect | 0 |
6 | 0ms | 184kb | Incorect | 0 |
7 | 0ms | 184kb | Incorect | 0 |
8 | 0ms | 184kb | Incorect | 0 |
9 | 0ms | 184kb | Incorect | 0 |
10 | 0ms | 184kb | Incorect | 0 |
11 | 0ms | 184kb | Incorect | 0 |
12 | 0ms | 184kb | Incorect | 0 |
13 | 0ms | 188kb | Incorect | 0 |
14 | 0ms | 184kb | Incorect | 0 |
15 | 1ms | 188kb | Incorect | 0 |
16 | 0ms | 184kb | Incorect | 0 |
17 | 0ms | 184kb | Incorect | 0 |
18 | 0ms | 184kb | Incorect | 0 |
19 | 0ms | 184kb | Incorect | 0 |
20 | 0ms | 184kb | Incorect | 0 |
Punctaj total | 15 |