結果
問題 | No.3051 cracked |
ユーザー | amorvincitomnia53 |
提出日時 | 2020-04-01 21:58:41 |
言語 | C++14 (gcc 12.3.0 + boost 1.83.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 371 bytes |
コンパイル時間 | 232 ms |
コンパイル使用メモリ | 30,096 KB |
実行使用メモリ | 24,432 KB |
平均クエリ数 | 2.17 |
最終ジャッジ日時 | 2023-09-24 03:15:14 |
合計ジャッジ時間 | 7,314 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | AC | 165 ms
23,652 KB |
testcase_09 | AC | 171 ms
24,360 KB |
testcase_10 | WA | - |
testcase_11 | AC | 173 ms
23,436 KB |
testcase_12 | AC | 167 ms
23,832 KB |
testcase_13 | WA | - |
testcase_14 | AC | 167 ms
24,396 KB |
testcase_15 | WA | - |
testcase_16 | AC | 167 ms
24,072 KB |
testcase_17 | WA | - |
testcase_18 | WA | - |
testcase_19 | WA | - |
testcase_20 | AC | 165 ms
24,312 KB |
testcase_21 | AC | 172 ms
23,544 KB |
testcase_22 | WA | - |
testcase_23 | WA | - |
ソースコード
#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))) //@"; int i = 0; char c; while ((c = fgetc(stdin)) != '@') { if(c != STR[i]) {printf("%d\n\"%c\"\n\"%c\"\n", i, STR[i], c); return 0;} i++;} } F(S2(F(INSERT))) //@