摘要: 题目描述 Given l1,r1,l2,r2,l3,r3,l4,r4, please count the number of four-tuples (x1,x2,x3,x4) such that li≤ xi≤ ri and x1≠x2,x2≠x3,x3≠x4,x4≠x1. The answer 阅读全文
posted @ 2018-05-27 17:13 house_cat 阅读(144) 评论(0) 推荐(1) 编辑
摘要: 题目描述 There are N cities. There are also K roads and L railways, extending between the cities. The i-th road bidirectionally connects the pi-th and qi- 阅读全文
posted @ 2018-05-27 11:51 house_cat 阅读(357) 评论(0) 推荐(0) 编辑