Pagini recente » Borderou de evaluare (job #347205) | Borderou de evaluare (job #220697) | Borderou de evaluare (job #3195361) | Borderou de evaluare (job #975410) | Borderou de evaluare (job #3237590)
Borderou de evaluare (job #3237590)
Raport evaluator
Compilare:
main.cpp: In function 'int dfs(int)':
main.cpp:44:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<per>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | for (int i=0;i<adj1[node].size();i++)
| ~^~~~~~~~~~~~~~~~~~
main.cpp:56:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<per>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
56 | for (int j=0;j<adj1[S.top()].size();j++)
| ~^~~~~~~~~~~~~~~~~~~~~
main.cpp:65:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<per>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
65 | for (int j=0;j<adj1[S.top()].size();j++)
| ~^~~~~~~~~~~~~~~~~~~~~
main.cpp:77:32: warning: unused variable 'ok2' [-Wunused-variable]
77 | int ant=S.top(),i2,ok2=1,prim=S.top();
| ^~~
main.cpp:43:28: warning: unused variable 'nod' [-Wunused-variable]
43 | { int solmin=100005,solc,nod;ok=0;
| ^~~
main.cpp: In function 'int main()':
main.cpp:128:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
128 | for (i=1;i<=n;i++)
| ^~~
main.cpp:135:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
135 | rasp=(1<<cnt);
| ^~~~
main.cpp:137:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
137 | for (i=1;i<=n;i++)g<<sir[0][i]<<' ';g<<'\n';
| ^~~
main.cpp:137:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
137 | for (i=1;i<=n;i++)g<<sir[0][i]<<' ';g<<'\n';
| ^
main.cpp:138:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
138 | for (i=1;i<=n;i++)g<<sir[1][i]<<' ';g<<'\n';
| ^~~
main.cpp:138:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
138 | for (i=1;i<=n;i++)g<<sir[1][i]<<' ';g<<'\n';
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 303kb | Corect | 10 |
2 | 0ms | 303kb | Corect | 10 |
3 | 0ms | 303kb | Corect | 10 |
4 | 0ms | 303kb | Corect | 10 |
5 | 0ms | 303kb | Corect | 10 |
6 | 0ms | 303kb | Corect | 10 |
7 | 0ms | 303kb | Corect | 10 |
8 | 0ms | 303kb | Corect | 10 |
9 | 6ms | 1867kb | Corect | 10 |
10 | 6ms | 1867kb | Corect | 10 |
Punctaj total | 100 |