結果
| 問題 | No.3395 Range Flipping Game |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-12-02 12:56:07 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 235 bytes |
| コンパイル時間 | 848 ms |
| コンパイル使用メモリ | 81,068 KB |
| 実行使用メモリ | 7,852 KB |
| 最終ジャッジ日時 | 2025-12-02 12:56:11 |
| 合計ジャッジ時間 | 3,417 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 1 |
| other | WA * 30 |
ソースコード
#include<iostream>
#include<string>
using namespace std;
int main(){
int T;
cin >> T;
for(;T--;){
string s;
cin >> s;
if(s.size()==1)cout <<"B" << endl;
else{
s[0]='B',s[1]='B';
cout << s << endl;
}
}
return 0;
}