mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-18 00:21:31 +00:00
43b5edf46b
First real optimization :)
16 lines
177 B
R
16 lines
177 B
R
int
|
|
foo (int bar)
|
|
{
|
|
int x, y;
|
|
|
|
for (x = 0; x < bar; x++) {
|
|
for (y = 0; y < bar; y++) {
|
|
if (x * y > bar)
|
|
break;
|
|
else
|
|
continue;
|
|
}
|
|
break;
|
|
}
|
|
return x * y;
|
|
}
|