結果

問題 No.3051 cracked
ユーザー t33ft33f
提出日時 2019-04-01 23:49:12
言語 C++14
(gcc 13.2.0 + boost 1.83.0)
結果
AC  
実行時間 450 ms / 1,024 ms
コード長 694 bytes
コンパイル時間 443 ms
コンパイル使用メモリ 62,144 KB
実行使用メモリ 24,372 KB
平均クエリ数 3.00
最終ジャッジ日時 2023-09-30 05:52:12
合計ジャッジ時間 12,981 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 432 ms
24,048 KB
testcase_01 AC 428 ms
23,640 KB
testcase_02 AC 439 ms
24,252 KB
testcase_03 AC 448 ms
23,856 KB
testcase_04 AC 439 ms
23,820 KB
testcase_05 AC 439 ms
23,988 KB
testcase_06 AC 442 ms
23,616 KB
testcase_07 AC 442 ms
24,372 KB
testcase_08 AC 450 ms
24,048 KB
testcase_09 AC 441 ms
23,508 KB
testcase_10 AC 437 ms
24,048 KB
testcase_11 AC 440 ms
23,556 KB
testcase_12 AC 435 ms
23,364 KB
testcase_13 AC 435 ms
23,400 KB
testcase_14 AC 434 ms
24,012 KB
testcase_15 AC 437 ms
23,640 KB
testcase_16 AC 441 ms
23,388 KB
testcase_17 AC 440 ms
24,264 KB
testcase_18 AC 433 ms
23,556 KB
testcase_19 AC 435 ms
23,988 KB
testcase_20 AC 438 ms
23,412 KB
testcase_21 AC 437 ms
23,640 KB
testcase_22 AC 435 ms
24,360 KB
testcase_23 AC 444 ms
23,520 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <cstdio>
char s[10000], program[] = "#include <iostream>%c#include <cstdio>%cchar s[10000], program[] = %c%s%c;%cusing namespace std; int main(){sprintf(s, program, 10, 10, 34, program, 34, 10, 10, 10, 10, 10, 10); for (int i = 0; ; i++) { char c = getchar(); if (s[i] != c) { cout << i << endl << char(34) << s[i] << char(34) << endl << char(34) << c << char(34) << endl; return 0; } }}";
using namespace std; int main(){sprintf(s, program, 10, 10, 34, program, 34, 10, 10, 10, 10, 10, 10); for (int i = 0; ; i++) { char c = getchar(); if (s[i] != c) { cout << i << endl << char(34) << s[i] << char(34) << endl << char(34) << c << char(34) << endl; return 0; } }}
0