結果

問題 No.676 C0nvertPr0b1em
コンテスト
ユーザー Daylight
提出日時 2018-05-06 20:26:47
言語 C++11
(gcc 15.2.0 + boost 1.89.0)
コンパイル:
g++-15 -O2 -lm -std=gnu++11 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
AC  
実行時間 2 ms / 2,000 ms
コード長 669 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 621 ms
コンパイル使用メモリ 105,180 KB
実行使用メモリ 7,844 KB
最終ジャッジ日時 2026-03-08 07:08:25
合計ジャッジ時間 1,299 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 30
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include <iostream>
#include <cstdio>
#include <cstring>
#include <cstdlib>
#include <algorithm>
#include <string>
#include <sstream>
#include <complex>
#include <vector>
#include <list>
#include <queue>
#include <deque>
#include <stack>
#include <map>
#include <set>
#include <fstream>

using namespace std;

typedef long long unsigned int ll;

#define rep(i,n)for(i=0;i<n;i++)
#define FOR(i,a,n) for(i=a;i<n;i++)
#define ALL(s)s.begin(), s.end()

#define INF (1e9)
#define PI  (acos(-1))




int main()
{
	string S;
	cin >> S;
	replace(ALL(S), 'I', '1');
	replace(ALL(S), 'l', '1');
	replace(ALL(S), 'O', '0');
	replace(ALL(S), 'o', '0');
	cout << S;
	return 0;


}

0