#include using namespace std; int main() { int s=0; for(int i=1;; i++) { s+=i; if(s>=1000) { cout<