結果
問題 |
No.676 C0nvertPr0b1em
|
ユーザー |
![]() |
提出日時 | 2020-08-04 07:02:56 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 269 bytes |
コンパイル時間 | 629 ms |
コンパイル使用メモリ | 64,000 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-14 03:58:43 |
合計ジャッジ時間 | 1,529 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 30 |
ソースコード
#include <iostream> #include <string> using namespace std; int main(){ string S; cin >> S; int N = S.size(); for (int i = 0; i < N; i++){ if (S[i] == 'I' || S[i] == 'l'){ S[i] = '1'; } if (S[i] == 'O' || S[i] == 'o'){ S[i] = '0'; } } cout << endl; }