随笔分类 - 坑
摘要:package test; import java.io.BufferedReader; import java.io.File; import java.io.FileOutputStream; import java.io.FileReader; import java.io.IOExcepti
阅读全文
摘要:uva 1161 图论 无从下手。。。uva 10938 LCA && RMQ。。uva 10246 应该可以用变形floyd预处理,然后O(1)回答询问。WA代码:#include#include#include#include#include#include#include#include#include#include#includeusing namespace std;#define LL long long#define UINT unsigned int#define MAX_INT 0x7fffffff#define cint const int#define
阅读全文
摘要:Problem CMonkeys inthe Emei MountainInput: Standard InputOutput: Standard Output Xuexue is a prettymonkey living in the Emei mountain.She is extremely thirsty during time 2 and time 9 everyday, so she must drink 2units water during this period. She may drink water more than once, as long asthe total
阅读全文
摘要:Problem CShogiTournamentInput: standard inputOutput: standard outputTime Limit: 25 secondsMemory Limit: 32 MBYou are to compute, given a partially playedShogi tournament (Japanese chess), whether or not a particular player can stilltheoretically win the tournament and if so, the maximum number of po
阅读全文

浙公网安备 33010602011771号