結果

問題 No.3051 cracked
ユーザー amorvincitomnia53amorvincitomnia53
提出日時 2020-04-01 22:18:59
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 178 ms / 1,024 ms
コード長 362 bytes
コンパイル時間 142 ms
コンパイル使用メモリ 30,392 KB
実行使用メモリ 24,384 KB
平均クエリ数 3.00
最終ジャッジ日時 2023-09-30 05:53:44
合計ジャッジ時間 5,898 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 178 ms
24,240 KB
testcase_01 AC 170 ms
24,156 KB
testcase_02 AC 171 ms
23,856 KB
testcase_03 AC 171 ms
23,556 KB
testcase_04 AC 172 ms
23,520 KB
testcase_05 AC 169 ms
23,520 KB
testcase_06 AC 169 ms
23,400 KB
testcase_07 AC 169 ms
23,676 KB
testcase_08 AC 170 ms
24,072 KB
testcase_09 AC 169 ms
23,364 KB
testcase_10 AC 167 ms
24,072 KB
testcase_11 AC 170 ms
23,448 KB
testcase_12 AC 168 ms
24,084 KB
testcase_13 AC 170 ms
24,324 KB
testcase_14 AC 170 ms
24,204 KB
testcase_15 AC 172 ms
23,628 KB
testcase_16 AC 169 ms
23,820 KB
testcase_17 AC 169 ms
23,856 KB
testcase_18 AC 169 ms
23,832 KB
testcase_19 AC 170 ms
24,264 KB
testcase_20 AC 168 ms
23,400 KB
testcase_21 AC 170 ms
23,640 KB
testcase_22 AC 170 ms
24,384 KB
testcase_23 AC 168 ms
23,400 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
#define S(x) #x
#define S2(x) S(x)
#define F(INSERT) int main(){ const char STR[] = "#include <stdio.h>\n#define S(x) #x\n#define S2(x) S(x)\n#define F(INSERT) " INSERT "\nF(S2(F(INSERT)))"; for(int i=0; i<sizeof(STR) - 1; i++){char c = fgetc(stdin); if(c != STR[i]) {printf("%d\n\"%c\"\n\"%c\"\n", i, STR[i], c); return 0;}}}
F(S2(F(INSERT)))
0