結果

問題 No.964 2020
ユーザー t98slider
提出日時 2020-06-04 09:11:49
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 242 bytes
コンパイル時間 1,411 ms
コンパイル使用メモリ 165,064 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-27 23:47:07
合計ジャッジ時間 3,453 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other WA * 8
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
using namespace std;

int main(){
    int x;
    cin>>x;
    if(x==1){cout<<1<<endl;return 0;}
    for(int i=x-1;i>=0;i--){
        cout<<i;
    }
    cout<<endl;
}
0