結果

問題 No.1915 Addition
ユーザー 👑 NachiaNachia
提出日時 2022-04-29 21:24:35
言語 C++17
(gcc 13.2.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 623 bytes
コンパイル時間 1,154 ms
コンパイル使用メモリ 77,476 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-09-11 12:13:40
合計ジャッジ時間 3,356 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <algorithm>
#include <atcoder/modint>
using namespace std;
using i32 = int;
using u32 = unsigned int;
using i64 = long long;
using u64 = unsigned long long;
#define rep(i,n) for(int i=0; i<(int)(n); i++)

using m32 = atcoder::modint;

int main(){
    int T; cin >> T;
    rep(i,T){
        int N; cin >> N;
        string x = to_string(1'000'000'000 + N).substr(1);
        cout << N << x << endl;
    }
    return 0;
}

struct ios_do_not_sync{
    ios_do_not_sync(){
        std::ios::sync_with_stdio(false);
        std::cin.tie(nullptr);
    }
} ios_do_not_sync_instance;
0