結果

問題 No.2629 A replace B replace C
ユーザー 👑 potato167potato167
提出日時 2024-02-14 15:17:43
言語 C++17(gcc12)
(gcc 12.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 349 bytes
コンパイル時間 7,314 ms
コンパイル使用メモリ 331,916 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-09-28 18:55:02
合計ジャッジ時間 9,138 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 5
other WA * 61
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
#include "testlib.h"

const int MIN_N = 1;
const int MAX_N = 200'000;

int main(){
	registerValidation();
	int N=inf.readInt(MIN_N,MAX_N);
	inf.readEoln();
	for(int i=0;i<2;i++){
		string S=inf.readString();
		ensure(int(S.size())==N);
		for(auto c:S){
			ensure('A'<=c&&c<='C');
		}
	}
	inf.readEof();
}
0