結果
| 問題 | No.3384 1122-like Number (Python) |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-11-22 13:56:05 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 143 bytes |
| 記録 | |
| コンパイル時間 | 265 ms |
| コンパイル使用メモリ | 96,108 KB |
| 実行使用メモリ | 94,208 KB |
| スコア | 68 |
| 最終ジャッジ日時 | 2026-07-16 22:10:35 |
| 合計ジャッジ時間 | 4,952 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 TLE * 1 |
| other | -- * 16 |
コンパイルメッセージ
Main.py:7: SyntaxWarning: invalid decimal literal
c+=len(l:=l+[n])==4and len({*l})==4
ソースコード
m,c=int(input()),0
for n in range(m+1):
i,*l=2,
while i*i<=n:
if n%i:i+=1
else:n//=i;l+=[i]
c+=len(l:=l+[n])==4and len({*l})==4
print(c)