Pagini recente » Borderou de evaluare (job #1487106) | Borderou de evaluare (job #314291) | Borderou de evaluare (job #555426) | Borderou de evaluare (job #517567) | Borderou de evaluare (job #2853695)
Borderou de evaluare (job #2853695)
Raport evaluator
Compilare:
main.cpp: In function 'void display(std::vector<Node>)':
main.cpp:30:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | for(int i = 0 ; i < dp.size();i++){
| ~~^~~~~~~~~~~
main.cpp:32:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<unsigned int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for(int x = 0 ; x < dp[i].child.size();x++){
| ~~^~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'void addInMap(std::vector<Node>&, int, int, int)':
main.cpp:41:27: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
41 | if(dp[M[key]].lng < length)
main.cpp: In function 'int main()':
main.cpp:72:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Word>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
72 | for(int right =1 ; right< V.size();right++){
| ~~~~~^~~~~~~~~~
main.cpp:78:16: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare]
78 | if(left==-1){ /// not yet added .... it's first time
| ~~~~^~~~
main.cpp:96:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
96 | for(int i = 0 ; i < dp.size();i++){
| ~~^~~~~~~~~~~
main.cpp:97:19: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare]
97 | if(maxLng < dp[i].lng){
| ~~~~~~~^~~~~~~~~~~
main.cpp:103:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<unsigned int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
103 | for(int x = 0 ; x < dp[maxPos].child.size();x++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 6ms | 1404kb | Corect | 10 |
2 | 11ms | 4325kb | Corect | 10 |
3 | 2ms | 184kb | Corect | 10 |
4 | 2ms | 184kb | Corect | 10 |
5 | 20ms | 6160kb | Memory limit exceeded | 0 |
6 | 11ms | 1568kb | Corect | 10 |
7 | 2ms | 184kb | Corect | 10 |
8 | 22ms | 6164kb | Memory limit exceeded | 0 |
9 | 2ms | 184kb | Corect | 10 |
10 | 6ms | 1773kb | Corect | 10 |
Punctaj total | 80 |