結果
問題 |
No.892 タピオカ
|
ユーザー |
|
提出日時 | 2019-09-27 21:26:58 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 371 bytes |
コンパイル時間 | 82 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 23,400 KB |
最終ジャッジ日時 | 2024-09-24 20:45:33 |
合計ジャッジ時間 | 2,782 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | RE * 2 TLE * 1 -- * 3 |
ソースコード
import sys input = sys.stdin.readline sys.setrecursionlimit(2147483647) INF=float("inf") MOD=10**9+7 # A = [ int(input()) for _ in range(N) ] ############################## A1, B1, A2, B2, A3, B3 = map(int, input().split()) a = str(A1**B1)[-1] b = str(A2**B2)[-1] c = str(A3**B3)[-1] ans = int(a)+int(b)+int(c) if ans %2 == 0: print(':-)') else: print(':-(')