Pagini recente » Borderou de evaluare (job #3038032) | Borderou de evaluare (job #993080) | Borderou de evaluare (job #2779922) | Borderou de evaluare (job #919541) | Borderou de evaluare (job #2950435)
Borderou de evaluare (job #2950435)
Raport evaluator
Compilare:
main.cpp: In function 'void DFS(int, int&)':
main.cpp:38:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for(i = 0; i < graf[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int apmcnx(int, int&)':
main.cpp:47:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | for(i = 0; i < graf[nod].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:59:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
59 | for(i = 0; i < graf[pqtopnod].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:103:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wformat=]
103 | fprintf(fout, "%d", cnx[0].size());
| ~^ ~~~~~~~~~~~~~
| | |
| int std::vector<int>::size_type {aka long unsigned int}
| %ld
main.cpp:113:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
113 | for(i = 0; i < cnx[0].size(); i++){
| ~~^~~~~~~~~~~~~~~
main.cpp:115:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
115 | for(j = 0; j < graf[nod].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:127:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
127 | for(i = 0; i < cnx[corespcnx[pqtopnod]].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:130:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
130 | for(i = 0; i < cnx[corespcnx[pqtopnod]].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:132:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
132 | for(j = 0; j < graf[nod].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:153:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
153 | for(i = 0; i < cnx[0].size(); i++){
| ~~^~~~~~~~~~~~~~~
main.cpp:155:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
155 | for(j = 0; j < graf[nod].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~
main.cpp:166:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
166 | for(i = 0; i < cnx[corespcnx[pqtopnod]].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:169:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
169 | for(i = 0; i < cnx[corespcnx[pqtopnod]].size(); i++){
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:171:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<node>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
171 | for(j = 0; j < graf[nod].size(); j++){
| ~~^~~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 184kb | Corect! | 2 |
2 | 2ms | 2281kb | Corect! | 2 |
3 | 15ms | 5115kb | Corect! | 2 |
4 | 0ms | 184kb | Corect! | 2 |
5 | 0ms | 184kb | Corect! | 2 |
6 | 8ms | 2551kb | Corect! | 2 |
7 | 0ms | 184kb | Corect! | 2 |
8 | 10ms | 2981kb | Corect! | 2 |
9 | 7ms | 2510kb | Corect! | 2 |
10 | 9ms | 2543kb | Corect! | 2 |
11 | 0ms | 184kb | Corect | 4 |
12 | 2ms | 2281kb | Corect | 4 |
13 | 12ms | 5144kb | Corect | 4 |
14 | 0ms | 184kb | Corect | 4 |
15 | 0ms | 184kb | Incorect! | 0 |
16 | 12ms | 3821kb | Incorect! | 0 |
17 | 0ms | 184kb | Incorect! | 0 |
18 | 203ms | 54403kb | Time limit exceeded | 0 |
19 | 9ms | 2596kb | Corect | 4 |
20 | 15ms | 3387kb | Incorect! | 0 |
21 | 0ms | 184kb | Corect! | 3 |
22 | 7ms | 3047kb | Corect! | 3 |
23 | 15ms | 5103kb | Corect! | 3 |
24 | 0ms | 184kb | Corect! | 3 |
25 | 0ms | 184kb | Incorect! | 0 |
26 | 13ms | 3792kb | Incorect! | 0 |
27 | 0ms | 184kb | Incorect! | 0 |
28 | 200ms | 43089kb | Time limit exceeded | 0 |
29 | 14ms | 3137kb | Corect! | 3 |
30 | 12ms | 3473kb | Incorect! | 0 |
31 | 0ms | 184kb | Corect! (Exemplu) | 10 |
Punctaj total | 65 |