結果

問題 No.676 C0nvertPr0b1em
ユーザー chacoder1
提出日時 2021-12-30 16:56:25
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 312 bytes
コンパイル時間 1,734 ms
コンパイル使用メモリ 194,140 KB
最終ジャッジ日時 2025-01-27 07:39:18
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 30
権限があれば一括ダウンロードができます

ソースコード

diff #

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

signed main(){
  string s;cin>>s;
  for(auto e:s){
    if(e=='I'||e=='l'){
      cout<<"1";
      continue;
    }
    if(e=='O'||e=='o'){   
      cout<<"0";
      continue;
    }  
    cout<<e;
  }
  cout<<endl;
  return 0;
}
0