提出 #20145565
ソースコード 拡げる
gets
puts $<.map{|ln|
l,r = ln.split.map(&:to_i)
(l..r-l).sum{|m| r-l-m+1 }
}
提出情報
ジャッジ結果
| セット名 | Sample | All | ||||||
|---|---|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 0 / 300 | ||||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| Sample | sample.txt |
| All | 00maxA.txt, 00maxB.txt, prefix.txt, random.txt, random_2.txt, random_3.txt, random_4.txt, sample.txt, small.txt, small_2.txt, suffix.txt |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| 00maxA.txt | TLE | 2206 ms | 14052 KiB |
| 00maxB.txt | TLE | 2206 ms | 14268 KiB |
| prefix.txt | TLE | 2206 ms | 14408 KiB |
| random.txt | TLE | 2206 ms | 14312 KiB |
| random_2.txt | TLE | 2206 ms | 14340 KiB |
| random_3.txt | TLE | 2206 ms | 14292 KiB |
| random_4.txt | TLE | 2206 ms | 14292 KiB |
| sample.txt | AC | 125 ms | 14116 KiB |
| small.txt | AC | 129 ms | 14244 KiB |
| small_2.txt | AC | 62 ms | 14096 KiB |
| suffix.txt | TLE | 2206 ms | 14296 KiB |