結果
| 問題 |
No.112 ややこしい鶴亀算
|
| ユーザー |
hikomimo
|
| 提出日時 | 2015-01-25 11:22:43 |
| 言語 | Python2 (2.7.18) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 261 bytes |
| コンパイル時間 | 479 ms |
| コンパイル使用メモリ | 6,912 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2024-06-23 01:22:25 |
| 合計ジャッジ時間 | 1,153 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | WA * 23 |
ソースコード
# -*- coding: utf-8 -*-
def main():
N = input()
a = map(int, raw_input().split())
t = 0
k = 0
for l in a:
if l == 4:
t += 1
elif l == 2:
k += 1
print t, k
if __name__ == '__main__':
main()
hikomimo