Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
bce59580
Commit
bce59580
authored
May 15, 2002
by
Chad Barb
Browse files
*** empty log message ***
parent
7e419f2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
tbsetup/wanlinksolve.cc
View file @
bce59580
...
@@ -620,9 +620,12 @@ int main( int argc, char ** argv )
...
@@ -620,9 +620,12 @@ int main( int argc, char ** argv )
{
{
if
(
verbose
)
{
printf
(
"
\n
Your solution is as follows:
\n
"
);
}
if
(
verbose
)
{
printf
(
"
\n
Your solution is as follows:
\n
"
);
}
for
(
int
x
=
0
;
x
<
vnodes
;
x
++
)
{
for
(
int
x
=
0
;
x
<
vnodes
;
x
++
)
{
printf
(
"%s mapsTo %s
\n
"
,
if
(
pnodeNames
.
find
(
pool
[
0
].
vnode_mapping
[
x
]
)
==
pnodeNames
.
end
())
{
vnodeNames
[
x
].
c_str
(),
pnodeNames
[
pool
[
0
].
vnode_mapping
[
x
]
]
=
"CRAP"
;
pnodeNames
[
pool
[
0
].
vnode_mapping
[
x
]].
c_str
()
);
}
printf
(
"%s mapsTo %s
\n
"
,
vnodeNames
[
x
].
c_str
(),
pnodeNames
[
pool
[
0
].
vnode_mapping
[
x
]].
c_str
()
);
}
}
printf
(
"
\n
"
);
printf
(
"
\n
"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment