結果

問題 No.1828 Except 3
ユーザー harapeco
提出日時 2022-03-11 11:11:29
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 315 bytes
コンパイル時間 322 ms
コンパイル使用メモリ 81,920 KB
実行使用メモリ 80,384 KB
最終ジャッジ日時 2024-09-15 11:09:42
合計ジャッジ時間 8,723 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample -- * 4
other TLE * 2 -- * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
a = list(map(int,input().split()))
b = list(map(int,input().split()))
c = list(map(int,input().split()))
ans = 0

for i in a:
    if i % 3 != 0:
        for j in b:
            if j % 3 != 0:
                for k in c:
                    if k % 3 != 0:
                        ans += 1
print(ans)
0