AtCoder Grand Contest 014

Submission #1268559

Source codeソースコード

(let* ((n (read))
      (m (read))
      (edges (loop repeat n collect 0)))
  (loop for i from 1 to m
     do
       (let ((a (read))
	     (b (read)))
	 (incf (nth (- a 1) edges))
	 (incf (nth (- b 1) edges))))
  (format t "~:[NO~;YES~]" (every #'evenp edges)))

Submission

Task問題 B - Unplanned Queries
User nameユーザ名 noorbeh
Created time投稿日時
Language言語 Common Lisp (SBCL 1.1.14)
Status状態 TLE
Score得点 0
Source lengthソースコード長 271 Byte
File nameファイル名
Exec time実行時間 ms
Memory usageメモリ使用量 -

Test case

Set

Set name Score得点 / Max score Cases
Sample - sample1.txt,sample2.txt
All 0 / 500 sample1.txt,sample2.txt,in1.txt,in10.txt,in11.txt,in12.txt,in13.txt,in14.txt,in15.txt,in16.txt,in2.txt,in3.txt,in4.txt,in5.txt,in6.txt,in7.txt,in8.txt,in9.txt,sample1.txt,sample2.txt

Test case

Case name Status状態 Exec time実行時間 Memory usageメモリ使用量
in1.txt TLE
in10.txt TLE
in11.txt TLE
in12.txt TLE
in13.txt TLE
in14.txt TLE
in15.txt AC 20 ms 6500 KB
in16.txt AC 20 ms 6496 KB
in2.txt TLE
in3.txt TLE
in4.txt TLE
in5.txt TLE
in6.txt TLE
in7.txt TLE
in8.txt TLE
in9.txt TLE
sample1.txt AC 20 ms 6496 KB
sample2.txt AC 20 ms 6500 KB