#include<bits/stdc++.h> using namespace std; int main(){ int n=100,a=0; while(n>0){ a=a+n; n=n-3; } cout<<a; } /************************************************************** Problem: 1053 User: yangjunwen Language: C++ Result: Accepted Time:5 ms Memory:2072 kb ****************************************************************/