結果

問題 No.8051 cracked
ユーザー FF256grhy
提出日時 2019-04-01 23:19:10
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
TLE  
実行時間 -
コード長 859 bytes
コンパイル時間 1,513 ms
コンパイル使用メモリ 167,412 KB
実行使用メモリ 38,124 KB
最終ジャッジ日時 2024-07-16 16:55:39
合計ジャッジ時間 5,949 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other TLE * 1 -- * 23
権限があれば一括ダウンロードができます

ソースコード

diff #


#include <bits/stdc++.h>
using namespace std;
int main() {
	string u = R"X(

#include <bits/stdc++.h>
using namespace std;
int main() {
	string u = R"Y(Z)Y";
	string s;
	for(int i = 0; i < u.size(); i++) {
		if(u[i] == 'W' + 3) { s += u; } else { s += (u[i] == 'W' + 2 ? u[i] - 1 : u[i]); }
	}
	string t;
	while(true) {
		char c = getchar();
		if(c == EOF) { break; }
		t += c;
	}
	for(int i = 0; i < s.size(); i++) {
		if(s[i] != t[i]) { printf("%d\n\"%c\"\n\"%c\"\n", i, s[i], t[i]); }
	}
	return 0;
}

)X";
	string s;
	for(int i = 0; i < u.size(); i++) {
		if(u[i] == 'W' + 3) { s += u; } else { s += (u[i] == 'W' + 2 ? u[i] - 1 : u[i]); }
	}
	string t;
	while(true) {
		char c = getchar();
		if(c == EOF) { break; }
		t += c;
	}
	for(int i = 0; i < s.size(); i++) {
		if(s[i] != t[i]) { printf("%d\n\"%c\"\n\"%c\"\n", i, s[i], t[i]); }
	}
	return 0;
}

0