結果

問題 No.552 十分簡単な星1の問題
ユーザー Rubikun
提出日時 2020-03-31 16:47:48
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 369 bytes
コンパイル時間 1,624 ms
コンパイル使用メモリ 165,964 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-06-24 20:17:50
合計ジャッジ時間 2,894 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 47
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define all(x) (x).begin(),(x).end()
const int mod=1000000007,MAX=2005,INF=1<<30;

int main(){
    
    std::ifstream in("text.txt");
    std::cin.rdbuf(in.rdbuf());
    cin.tie(0);
    ios::sync_with_stdio(false);
    
    string S;cin>>S;
    if(S=="0") cout<<S<<endl;
    else cout<<S<<0<<endl;
}

0