Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #2853545)
| Utilizator | Data | 20 februarie 2022 13:32:08 | |
|---|---|---|---|
| Problema | Text3 | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 42 | ||
Raport evaluator
Compilare:
main.cpp: In function 'void display(std::vector<Node>)':
main.cpp:31:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for(int i = 0 ; i < dp.size();i++){
| ~~^~~~~~~~~~~
main.cpp:33:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Word>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | for(int x = 0 ; x < dp[i].child.size();x++){
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:56:38: warning: narrowing conversion of 'dp.std::vector<Node>::operator[](1).Node::child.std::vector<Word>::size()' from 'std::vector<Word>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
56 | M[V[0].end] = {0,dp[1].child.size()};
| ~~~~~~~~~~~~~~~~^~
main.cpp:59:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Word>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | for(int right =1 ; right< V.size();right++){
| ~~~~~^~~~~~~~~~
main.cpp:68:62: warning: narrowing conversion of 'dp.std::vector<Node>::operator[](((std::vector<Node>::size_type)right)).Node::child.std::vector<Word>::size()' from 'std::vector<Word>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
68 | M[V[right].end] = {right,dp[right].child.size()};
| ~~~~~~~~~~~~~~~~~~~~^~
main.cpp:71:62: warning: narrowing conversion of 'dp.std::vector<Node>::operator[](((std::vector<Node>::size_type)right)).Node::child.std::vector<Word>::size()' from 'std::vector<Word>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
71 | M[V[right].end] = {right,dp[right].child.size()};
| ~~~~~~~~~~~~~~~~~~~~^~
main.cpp:76:58: warning: narrowing conversion of 'dp.std::vector<Node>::operator[](((std::vector<Node>::size_type)right)).Node::child.std::vector<Word>::size()' from 'std::vector<Word>::size_type' {aka 'long unsigned int'} to 'int' [-Wnarrowing]
76 | M[V[right].end] = {right,dp[right].child.size()};
| ~~~~~~~~~~~~~~~~~~~~^~
main.cpp:84:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
84 | for(int i = 0 ; i < dp.size();i++){
| ~~^~~~~~~~~~~
main.cpp:91:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Word>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
91 | for(int x = 0 ; x < dp[maxPos].child.size();x++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:41:9: warning: unused variable 'i' [-Wunused-variable]
41 | int i=1,nrMatch=0;
| ^
main.cpp:41:13: warning: unused variable 'nrMatch' [-Wunused-variable]
41 | int i=1,nrMatch=0;
| ^~~~~~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test |
|---|---|---|---|---|
| 1 | 6ms | 1331kb | Partial incorect | 1 |
| 2 | 15ms | 6160kb | Memory limit exceeded | 0 |
| 3 | 2ms | 184kb | Corect | 10 |
| 4 | 2ms | 184kb | Corect | 10 |
| 5 | 20ms | 6160kb | Memory limit exceeded | 0 |
| 6 | 11ms | 1699kb | Corect | 10 |
| 7 | 2ms | 184kb | Corect | 10 |
| 8 | 23ms | 6164kb | Memory limit exceeded | 0 |
| 9 | 6ms | 1228kb | Partial incorect | 1 |
| 10 | 20ms | 6160kb | Memory limit exceeded | 0 |
| Punctaj total | 42 | |||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
