結果
| 問題 |
No.112 ややこしい鶴亀算
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2014-12-25 01:38:26 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 236 bytes |
| コンパイル時間 | 347 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 10,880 KB |
| 最終ジャッジ日時 | 2024-06-12 04:59:04 |
| 合計ジャッジ時間 | 1,938 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 23 |
ソースコード
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])))