結果

問題 No.483 マッチ並べ
ユーザー 0w10w1
提出日時 2017-04-15 18:03:02
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 315 bytes
コンパイル時間 1,778 ms
コンパイル使用メモリ 86,852 KB
実行使用メモリ 71,492 KB
最終ジャッジ日時 2023-09-25 22:17:50
合計ジャッジ時間 6,318 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
71,284 KB
testcase_01 AC 71 ms
71,124 KB
testcase_02 AC 71 ms
71,268 KB
testcase_03 AC 71 ms
71,260 KB
testcase_04 AC 72 ms
71,008 KB
testcase_05 AC 74 ms
71,000 KB
testcase_06 AC 74 ms
71,212 KB
testcase_07 AC 72 ms
71,256 KB
testcase_08 AC 72 ms
71,268 KB
testcase_09 AC 72 ms
71,004 KB
testcase_10 AC 72 ms
71,220 KB
testcase_11 AC 73 ms
71,212 KB
testcase_12 AC 73 ms
71,468 KB
testcase_13 AC 74 ms
71,372 KB
testcase_14 AC 74 ms
71,396 KB
testcase_15 AC 73 ms
71,164 KB
testcase_16 AC 75 ms
71,340 KB
testcase_17 WA -
testcase_18 AC 74 ms
71,220 KB
testcase_19 AC 74 ms
71,356 KB
testcase_20 AC 72 ms
71,196 KB
testcase_21 AC 72 ms
71,200 KB
testcase_22 AC 72 ms
71,176 KB
testcase_23 AC 71 ms
71,340 KB
testcase_24 AC 72 ms
71,304 KB
testcase_25 AC 75 ms
71,340 KB
testcase_26 AC 74 ms
71,264 KB
testcase_27 AC 73 ms
71,264 KB
testcase_28 AC 72 ms
71,432 KB
testcase_29 AC 73 ms
70,960 KB
testcase_30 AC 74 ms
70,992 KB
testcase_31 AC 75 ms
71,348 KB
testcase_32 AC 75 ms
71,276 KB
testcase_33 AC 74 ms
71,232 KB
testcase_34 AC 73 ms
71,264 KB
testcase_35 AC 75 ms
70,992 KB
testcase_36 AC 73 ms
70,996 KB
testcase_37 AC 73 ms
71,220 KB
testcase_38 AC 72 ms
71,404 KB
testcase_39 AC 74 ms
71,236 KB
testcase_40 AC 75 ms
71,268 KB
testcase_41 AC 75 ms
71,136 KB
testcase_42 AC 73 ms
71,188 KB
testcase_43 AC 76 ms
71,492 KB
testcase_44 AC 74 ms
71,164 KB
testcase_45 AC 73 ms
71,256 KB
testcase_46 AC 73 ms
71,004 KB
testcase_47 AC 73 ms
71,192 KB
testcase_48 AC 75 ms
71,440 KB
testcase_49 AC 75 ms
71,184 KB
testcase_50 AC 77 ms
71,436 KB
testcase_51 AC 73 ms
71,328 KB
testcase_52 AC 73 ms
71,440 KB
testcase_53 AC 72 ms
71,232 KB
testcase_54 WA -
testcase_55 WA -
権限があれば一括ダウンロードができます

ソースコード

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 ) + 1 <= N:
  print( "NO" )
else:
  print( "YES" )
0