結果

問題 No.483 マッチ並べ
ユーザー 0w10w1
提出日時 2017-04-15 18:03:52
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 311 bytes
コンパイル時間 235 ms
コンパイル使用メモリ 81,840 KB
実行使用メモリ 53,776 KB
最終ジャッジ日時 2024-07-18 17:57:24
合計ジャッジ時間 3,961 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 44 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int( input() )
R0 = []
C0 = []
R1 = []
C1 = []
bag = set()
for i in range( N ):
  r0, c0, r1, c1 = map( int, input().split() )
  R0.append( r0 )
  C0.append( c0 )
  bag.add( ( r0, c0 ) )
  R1.append( r1 )
  C1.append( c1 )
  bag.add( ( r1, c1 ) )

if len( bag ) <= N:
  print( "NO" )
else:
  print( "YES" )
0