結果
| 問題 | No.99 ジャンピング駒 |
| コンテスト | |
| ユーザー |
a_ten
|
| 提出日時 | 2016-03-28 13:31:00 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 218 bytes |
| 記録 | |
| コンパイル時間 | 67 ms |
| コンパイル使用メモリ | 80,768 KB |
| 実行使用メモリ | 98,816 KB |
| 最終ジャッジ日時 | 2026-07-18 04:36:15 |
| 合計ジャッジ時間 | 2,241 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 WA * 4 |
ソースコード
#coding:utf-8 N=input() X=map(int,raw_input().split()) X.sort() s=[X[0]] for i in range(1,N): if X[i]-s[i-1]==2: s.append(X[i]) else: s.append(0) if N%2==0: if X==s: print N else: print 0 else: print 1
a_ten