
暴力
pioneer 1
如你所说,成为传奇。
展开
-
Pairs(暴力,超详细简单)
传送门Toad Ivan hasmmpairs of integers, each integer is between11andnn, inclusive. The pairs are(a1,b1),(a2,b2),…,(am,bm)(a1,b1),(a2,b2),…,(am,bm).He asks you to check if there exist two intege...原创 2019-11-28 17:14:24 · 1988 阅读 · 0 评论 -
Traffic (难度不够,题意来凑?)
传送门Avin is observing the cars at a crossroads. He finds that there are n cars running in the east-west direction with the i-th car passing the intersection at time ai . There are another m cars runn...原创 2019-11-10 18:11:49 · 541 阅读 · 0 评论 -
Bear and Three Balls
题目链接Limak is a little polar bear. He hasnballs, thei-th ball has sizeti.Limak wants to give one ball to each of his three friends. Giving gifts isn't easy— there are two rules Limak must obey...原创 2019-08-21 12:04:25 · 130 阅读 · 0 评论 -
Problem L. World Cup(模拟+暴力)
传送门题解:运用6重循环对6场比赛进行模拟,把结果存起来,如果出现1次,输出“YES”,如果出现2次及以上输出“NO”,如果一次都没出现,输出“Wrong Scoreboard”。#include <iostream>#include <algorithm>#include <map>using namespace std;in...原创 2019-10-08 16:10:21 · 210 阅读 · 0 评论