#29610: C++紀錄


e3524167 (Kenlogin)


#include <iostream>

#include <string>

#include <sstream>

#include <cmath>

using namespace std;

int main()

{

int x,y;

while (cin >> x >> y)

{

int z=0, count=1;

z = x;

while (z <= y)

{

x = x + 1;

z = z + x;

count = count + 1;

}

cout << count << endl;

}

}