Pagini recente » Borderou de evaluare (job #1826363) | Cod sursa (job #2000466) | Cod sursa (job #136142) | Borderou de evaluare (job #2408572) | Borderou de evaluare (job #3151960)
Borderou de evaluare (job #3151960)
Raport evaluator
Compilare:
main.cpp: In function 'int brute1(int)':
main.cpp:27:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | if(tab + s[i] >= fr.size())
| ~~~~~~~~~~~^~~~~~~~~~~~
main.cpp: In function 'int brute2(int)':
main.cpp:52:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | for(int i=0; i<poz[x].size(); i++){
| ~^~~~~~~~~~~~~~
main.cpp:53:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | for(int j=i; j<poz[x].size(); j++){
| ~^~~~~~~~~~~~~~
main.cpp:61:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
61 | int after = (j < poz[x].size()-1 ? poz[x][j+1] - poz[x][j] - 1 : 0);
| ~~^~~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 303kb | Incorect | 0 |
| 2 | 0ms | 303kb | Incorect | 0 |
| 3 | 1ms | 557kb | Incorect | 0 |
| 4 | 1ms | 557kb | Incorect | 0 |
| 5 | 2ms | 1249kb | Incorect | 0 |
| 6 | 4ms | 1343kb | Incorect | 0 |
| 7 | 8ms | 2129kb | Incorect | 0 |
| 8 | 9ms | 3043kb | Incorect | 0 |
| 9 | 9ms | 4112kb | Incorect | 0 |
| 10 | 9ms | 4096kb | Incorect | 0 |
| 11 | 24ms | 4616kb | Incorect | 0 |
| 12 | 34ms | 5922kb | Incorect | 0 |
| 13 | 39ms | 7069kb | Incorect | 0 |
| 14 | 34ms | 9191kb | Incorect | 0 |
| 15 | 49ms | 7766kb | Incorect | 0 |
| 16 | 54ms | 10657kb | Incorect | 0 |
| 17 | 29ms | 11673kb | Incorect | 0 |
| 18 | 74ms | 11386kb | Incorect | 0 |
| 19 | 153ms | 10690kb | Incorect | 0 |
| 20 | 64ms | 9621kb | Incorect | 0 |
| Punctaj total | 0 |