- 博客(9)
 - 收藏
 - 关注
 
原创 Gym - 102021L: Logic Puzzle
题意:扫雷问题,不同的是这个有雷区域的外面也有一圈 思路:从第一行第一列开始,如果它右下角是1,那么这个点就有雷,标记一下这个点,然后把它周围3*3的区域都减去1,最后遍历一遍h*w的区域,如果都是0,那么输出h*w的图,否则输出impossible #include<algorithm> #include <cstdio> #include <iostream...
          2019-08-27 23:24:13
          
310
        
原创 hdu 6705 path(re,待更正)
Problem Description You have a directed weighted graph with n vertexes and m edges. The value of a path is the sum of the weight of the edges you passed. Note that you can pass any edge any times ...
          2019-08-26 21:39:55
          
234
        
原创 G - Radar Scanner
There are n rectangle radar scanners on the ground. The sides of them are all paralleled to the axes. The i-th scanner's bottom left corner is square (ai,bi) and its top right corner is square (ci,di)...
          2019-08-26 18:31:46
          
1107
          
1
        
原创 F - Moving On
Description Firdaws and Fatinah are living in a country with n cities, numbered from 1 to n . Each city has a risk of kidnapping or robbery. Firdaws's home locates in the city u , and Fatinah's h...
          2019-08-25 21:12:52
          
638
        
原创 H - Fight Against Monsters
Description It is my great honour to introduce myself to you here. My name is Aloysius Benjy Cobweb Dartagnan Egbert Felix Gaspar Humbert Ignatius Jayden Kasper Leroy Maximilian. As a storyteller, to...
          2019-08-25 19:09:10
          
285
        
原创 nitor Troubles
J Janitor Troubles Time limit: 1s While working a night shift at the university as a janitor, you absent-mindedly erase a blackboard covered with equations, only to realize afterwards that these were ...
          2019-08-24 22:15:14
          
106
        
原创 Kingpin Escape Gym - 102007K
K Kingpin Escape Time limit: 2s You are the kingpin of a large network of criminal hackers. Legend has it there has never been a richer criminal than you. Not just because you are the smartest, but al...
          2019-08-24 19:29:23
          
175
        
原创 Genealogical tree
Description The system of Martians' blood relations is confusing enough. Actually, Martians bud when they want and where they want. They gather together in different groups, so that a Martian can hav...
          2019-08-23 21:00:30
          
98
        
原创 HDU 2768 Cat vs. Dog
Description The latest reality show has hit the TV: ``Cat vs. Dog''. In this show, a bunch of cats and dogs compete for the very prestigious Best Pet Ever title. In each episode, the cats and dogs ge...
          2019-08-23 11:35:32
          
199
        
        
      
空空如也
        
      
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅