結果

問題 No.2692 How Many Times Reached?
ユーザー graph11463graph11463
提出日時 2024-03-23 17:33:27
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 471 bytes
コンパイル時間 389 ms
コンパイル使用メモリ 81,700 KB
実行使用メモリ 76,152 KB
最終ジャッジ日時 2024-03-23 17:33:31
合計ジャッジ時間 3,978 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 36 ms
53,460 KB
testcase_01 AC 35 ms
53,460 KB
testcase_02 AC 37 ms
53,460 KB
testcase_03 AC 36 ms
53,460 KB
testcase_04 AC 37 ms
53,460 KB
testcase_05 AC 37 ms
53,460 KB
testcase_06 AC 37 ms
53,460 KB
testcase_07 AC 36 ms
53,460 KB
testcase_08 WA -
testcase_09 AC 37 ms
53,460 KB
testcase_10 WA -
testcase_11 AC 36 ms
53,460 KB
testcase_12 AC 36 ms
53,460 KB
testcase_13 AC 36 ms
53,460 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 35 ms
53,460 KB
testcase_19 AC 35 ms
53,460 KB
testcase_20 WA -
testcase_21 AC 35 ms
53,460 KB
testcase_22 AC 34 ms
53,460 KB
testcase_23 AC 34 ms
53,460 KB
testcase_24 WA -
testcase_25 WA -
testcase_26 WA -
testcase_27 WA -
testcase_28 AC 34 ms
53,460 KB
testcase_29 WA -
testcase_30 WA -
testcase_31 WA -
testcase_32 WA -
testcase_33 WA -
testcase_34 AC 77 ms
75,768 KB
testcase_35 AC 53 ms
68,472 KB
testcase_36 AC 62 ms
70,516 KB
testcase_37 AC 84 ms
76,024 KB
testcase_38 AC 85 ms
75,896 KB
testcase_39 AC 96 ms
75,896 KB
testcase_40 AC 58 ms
70,516 KB
testcase_41 AC 61 ms
72,732 KB
testcase_42 AC 67 ms
73,336 KB
testcase_43 AC 75 ms
75,768 KB
testcase_44 AC 70 ms
75,896 KB
testcase_45 WA -
testcase_46 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

i=lambda:int(s())
s=lambda:input()
def p(X):
    global a
    if sorted(X)==c:a+=1
a,N,c=0,i(),["."]
l=[["" for i in range(N)]for j in range(N)]
for i in range(N):
    if i>=1:c.append("A")
    S=s()
    for j in range(N):l[i][j]=S[j]
for i in range(N):
    q=[[],[],[],[]]
    for j in range(N):
        q[0].append(l[i][j])
        q[1].append(l[j][i])
        p(q[0])
        p(q[1])
    q[2].append(l[i][i])
    q[3].append(l[-(i+1)][-(i+1)])
p(q[2])
p(q[3])
print(a)
0