結果
| 問題 |
No.1146 土偶Ⅰ
|
| ユーザー |
convexineq
|
| 提出日時 | 2021-05-11 01:58:52 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 100 ms / 2,000 ms |
| コード長 | 180 bytes |
| コンパイル時間 | 379 ms |
| コンパイル使用メモリ | 82,432 KB |
| 実行使用メモリ | 75,520 KB |
| 最終ジャッジ日時 | 2024-09-21 07:54:45 |
| 合計ジャッジ時間 | 2,334 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 20 |
ソースコード
from math import gcd from itertools import combinations n,*a = map(int,open(0).read().split()) f = lambda x,y,z: gcd(gcd(x,y),z) print(sum(f(*lst)==1 for lst in combinations(a,3)))
convexineq