結果
| 問題 | No.112 ややこしい鶴亀算 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2014-12-25 01:39:56 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 244 bytes |
| 記録 | |
| コンパイル時間 | 874 ms |
| コンパイル使用メモリ | 20,828 KB |
| 実行使用メモリ | 20,764 KB |
| 最終ジャッジ日時 | 2026-03-05 08:26:48 |
| 合計ジャッジ時間 | 10,334 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 23 |
ソースコード
input()
lis = [int(i) for i in input().split(" ")]
N = len(lis)
sort(lis)
if lis[0] == lis[-1]:
if 4 * N == sum(lis):
print("%d 0"%N)
else:
print("0 %d"%N)
else:
print("%d %d"%(lis.count(lis[0]),lis.count(lis[-1])))