Run ID Author Problem Lang Verdict Time Memory Code Length Submit Time
47151 jiabokai 练32.2  种植竹笋 C++ No Test Data 0 MS 0 KB 164 2024-05-12 17:07:18

Tests(0/0):


#include<bits/stdc++.h> using namespace std; int main(){ int k,sum=0,i=1; cin>>k; do{ sum+=(16/i); i++; }while(sum<k); cout<<i-1; return 0; }