保存されている過去のバージョンの一覧

2020年05月11日06時17分47秒

Codeforces Round #640 DIV4 A問題 - Sum of Round Numbers

Source

Codeforces Round #640 DIV4 A問題
Problem description

問題概要

省略

解法

省略

cLayversion 20200509-1)のコード

C++に変換後のコードはこちら

//no-unlocked
int N;
int ress, res[10];
{
  REP(rd_int()){
    int p = 1;
    rd(N);
    ress = 0;
    while(N){
      p *= 10;
      if(N%p) res[ress++] = N%p;
      N -= N%p;
    }
    wt(ress);
    wt(res(ress));
  }
}

Current time: 2024年03月29日10時24分27秒
Last modified: 2020年05月11日06時17分47秒 (by laycrs)
Tags: Competitive_Programming_Incomplete Codeforces CF640 CF_Div4_A
トップページに戻る

Logged in as: unknown user (not login)

ログイン: