結果

問題 No.202 1円玉投げ
ユーザー yaoshimax
提出日時 2015-05-21 00:17:46
言語 PyPy2
(7.3.15)
結果
MLE  
実行時間 -
コード長 278 bytes
コンパイル時間 1,992 ms
コンパイル使用メモリ 76,796 KB
実行使用メモリ 1,653,552 KB
最終ジャッジ日時 2024-12-22 09:20:08
合計ジャッジ時間 138,467 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 MLE * 1
other AC * 14 TLE * 13 MLE * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(raw_input())
S=set([])
ans=0
for i in range(N):
    x,y=map(int,raw_input().split())
    if (x,y) not in S:
        ans+=1
        for i in range(-20,21):
            for j in range(-20,21):
                if i*i+j*j<20*20:
                    S.add((x+i,y+j))
print ans
0