我觉得自己的代码没有问题,为什么没有输出 TAT
#include<bits/stdc++.h> using namespace std; int main(){ int s,v=2,b=0; cin>>s; while(s>0){ s=s-v; v=(v/100)*98; b++; } cout<<b; return 0; }