結果

問題 No.3051 cracked
ユーザー maimai
提出日時 2019-01-22 20:44:42
言語 C
(gcc 12.3.0)
結果
AC  
実行時間 174 ms / 1,024 ms
コード長 887 bytes
コンパイル時間 212 ms
コンパイル使用メモリ 28,648 KB
実行使用メモリ 24,336 KB
平均クエリ数 3.00
最終ジャッジ日時 2023-09-30 05:50:07
合計ジャッジ時間 6,116 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 174 ms
23,640 KB
testcase_01 AC 170 ms
23,796 KB
testcase_02 AC 169 ms
24,276 KB
testcase_03 AC 171 ms
23,424 KB
testcase_04 AC 170 ms
24,336 KB
testcase_05 AC 171 ms
23,664 KB
testcase_06 AC 172 ms
23,628 KB
testcase_07 AC 171 ms
23,652 KB
testcase_08 AC 172 ms
24,324 KB
testcase_09 AC 172 ms
24,000 KB
testcase_10 AC 170 ms
23,436 KB
testcase_11 AC 169 ms
23,664 KB
testcase_12 AC 171 ms
24,072 KB
testcase_13 AC 172 ms
23,616 KB
testcase_14 AC 172 ms
24,276 KB
testcase_15 AC 172 ms
24,276 KB
testcase_16 AC 172 ms
23,388 KB
testcase_17 AC 170 ms
23,808 KB
testcase_18 AC 171 ms
23,364 KB
testcase_19 AC 172 ms
24,000 KB
testcase_20 AC 173 ms
24,276 KB
testcase_21 AC 172 ms
24,276 KB
testcase_22 AC 171 ms
23,988 KB
testcase_23 AC 171 ms
23,640 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>            //^
const int W = 34;             //`
char buf[99][99];             //R
char vxor[99];               //aW
int main(){                  //aC
  int x,y,c;                 //aK
  int tx = 0, ty;             //H
  int hxor = 0;               //H
  x = y = 0;                 //aK
  while (c=getchar(),y < 26){ //Y
    if (c == '\n'){           //$
      if (hxor != 0) ty = y;  //]
      hxor = 0;              //aZ
      ++y; x = 0;            //aM
      continue; }             //G
    buf[y][x] = c;           //xM
    vxor[x++] ^= c;           //v
    hxor ^= c; }              //k
  while (vxor[tx] == 0) ++tx; //@
  c = vxor[tx]^buf[ty][tx];   //r
  printf("%d\n\"%c\"\n\"%c\"",//R
    tx+ty*W, c, buf[ty][tx]); //v
  return 0; }                 /*Y
x x                           | \
{gsf-----_-_---_---_-___--------{
*///p}-@tz'kI/!.O`)oP(un2R,lt.~p0



0