結果
| 問題 |
No.2314 Backflip
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-05-28 22:26:44 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 255 bytes |
| コンパイル時間 | 1,703 ms |
| コンパイル使用メモリ | 165,188 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-27 20:29:00 |
| 合計ジャッジ時間 | 2,579 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 2 |
| other | AC * 1 WA * 7 |
ソースコード
#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n) ; ++i)
using namespace std;
typedef long long ll;
int main () {
string s;
cin >> s;
int n = s.size();
rep(i,n){
if(s[i]=='0') s[i]='1';
else s[i]='0';
}
cout << s;
return 0;
}