#include<iostream> using namespace std; int main() { for (int i = 1; i <= 500; i = i++ + ++i) { cout << i << endl; } }
不同平台测试结果
所以到底该怎么算?