转载至: csdn链接

1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma optimize( "gs", off )
void calc(int nMax)
{
int nTotal = 0;
for (int index = 0;index < nMax;index++)
{
nTotal = 0;
for (int subIndex = index;subIndex < nMax+index;subIndex++ )
{
nTotal += subIndex;
}
}
}
#pragma optimize( "gs", on )

记录。

留言

2018-02-24

⬆︎TOP