2023牛客暑期多校训练营7 M Writing Books

https://ac.nowcoder.com/acm/contest/57361/M

#include
using namespace std;
int main(){
    int t;
    cin>>t;
    while(t--){
        long long n;
        cin>>n;
        long long k=0;
        long long temp=n;
        while(temp){
            temp/=10;
            k++;
        }
        //cout<<"k "<

你可能感兴趣的:(签到题,算法)