AtCoder Grand Contest 014

Submission #1268577

Source codeソースコード

(let* ((n (read))
       (m (read))
       (edges (make-array (1+ n) :initial-element 0)))
  (dotimes (i m t)
    (incf (elt edges (read)))
    (incf (elt edges (read))))
  (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状態 AC
Score得点 500
Source lengthソースコード長 227 Byte
File nameファイル名
Exec time実行時間 550 ms
Memory usageメモリ使用量 68836 KB

Test case

Set

Set name Score得点 / Max score Cases
Sample - sample1.txt,sample2.txt
All 500 / 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 AC 550 ms 68836 KB
in10.txt AC 393 ms 57700 KB
in11.txt AC 345 ms 57704 KB
in12.txt AC 392 ms 57700 KB
in13.txt AC 375 ms 57700 KB
in14.txt AC 388 ms 57704 KB
in15.txt AC 23 ms 6504 KB
in16.txt AC 23 ms 6500 KB
in2.txt AC 390 ms 57700 KB
in3.txt AC 389 ms 57700 KB
in4.txt AC 396 ms 57696 KB
in5.txt AC 392 ms 57700 KB
in6.txt AC 384 ms 57700 KB
in7.txt AC 392 ms 57696 KB
in8.txt AC 392 ms 57700 KB
in9.txt AC 387 ms 57700 KB
sample1.txt AC 23 ms 6500 KB
sample2.txt AC 23 ms 6500 KB