結果
| 問題 |
No.8051 cracked
|
| コンテスト | |
| ユーザー |
algon_320
|
| 提出日時 | 2019-04-01 23:55:47 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
TLE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 851 bytes |
| コンパイル時間 | 1,653 ms |
| コンパイル使用メモリ | 168,288 KB |
| 実行使用メモリ | 25,488 KB |
| 最終ジャッジ日時 | 2024-07-22 23:53:51 |
| 合計ジャッジ時間 | 37,263 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 24 |
ソースコード
#include<bits/stdc++.h>
using namespace std;char s[]="#include<bits/stdc++.h>$using namespace std;char s[]=@;int main() {string code;int idx = 0;while (s[idx] != 0) {if (s[idx] == 36) {code += 10;} else if (s[idx] == 64) {code += 34;code += s;code += 34;} else {code += s[idx];}idx++;}idx = 0;while (1) {char ch = getc(stdin);if (code[idx] != ch) {cout << idx << endl;cout << (char)34 << code[idx] << (char)34 << endl;cout << (char)34 << ch << (char)34 << endl;return 0;}idx++;}}";int main() {string code;int idx = 0;while (s[idx] != 0) {if (s[idx] == 36) {code += 10;} else if (s[idx] == 64) {code += 34;code += s;code += 34;} else {code += s[idx];}idx++;}idx = 0;while (1) {char ch = getc(stdin);if (code[idx] != ch) {cout << idx << endl;cout << (char)34 << code[idx] << (char)34 << endl;cout << (char)34 << ch << (char)34 << endl;return 0;}idx++;}}
algon_320