#include int main(){ using namespace std; int n, m; while(cin>>n>>m){ int sum = 0, count = 0; while(sum <= m){ sum += n; n++; count++; } if(m < 0){ cout<<1<<'\n'; } else{ cout< } } return 0; }
我送出是AC?