結果

問題 No.9000 Hello World! (テスト用)
ユーザー midolin limegreen
提出日時 2018-03-10 22:20:16
言語 C++17(clang)
(17.0.6 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 580 bytes
コンパイル時間 668 ms
コンパイル使用メモリ 118,400 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-11-30 12:12:36
合計ジャッジ時間 1,141 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#define OFFSET 6

#ifdef __clang__
#include <typeinfo>
#undef OFFSET
#define OFFSET 2
#endif

typedef class ciefememepamaadhepfcemeeab
{
public:
	int w() {
		auto word = typeid(*this).name();
		auto tochar = [](char oct1, char oct2) {
			auto tohex = [](char oct){
				return oct - 'a';
			};
			return static_cast<char>(tohex(oct1) * 0x10 + tohex(oct2) + 0x20);
		};
		for(int i = -1; !!word[++i * 2 + OFFSET]; std::cout << tochar(word[i * 2 + OFFSET], word[i * 2 + OFFSET + 1]));
		std::cout << std::endl;
		return 0;
	}
} h;

int main() {
	return h().w();
}
0