原创 [gym102267L]ABC

time limit per test : 1.0 s memory limit per test : 256 MB You are given a string consisting of letters ′a′,′b′'a',

原创 [codeforces1219G]Harvester

time limit per test : 0.5 seconds memory limit per test : 256 megabytes It is Bubble Cup finals season and farmer J

原创 [gym102012C]Rikka with Consistency

time limit per test : 8.0 s memory limit per test : 1024 MB On the way to the Moscow, Rikka knows someone will repl

原创 [nowcoder]紅球進黑洞

題目 鏈接:https://ac.nowcoder.com/acm/contest/6046/C 時間限制:C/C++ 3秒,其他語言6秒 空間限制:C/C++ 262144K,其他語言524288K 64bit IO Forma

原创 INOI選做...

退役選手復健 Free ticket 題解: floyd之後直接找最大值。 /** https://www.codechef.com/INOIPRAC/problems/INOI1402 */ #include<bits/stdc

原创 [hdu6230]Palindrome

Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Problem Description Alice like s

原创 [hdu6290]奢侈的旅行

Time Limit: 14000/7000 MS (Java/Others) Memory Limit: 512000/512000 K (Java/Others) Problem Description 高玩小Q不僅喜歡玩尋寶

原创 [codeforces1207F]Remainder Problem

time limit per test : 4 seconds memory limit per test : 512 megabytes 分數:2100 You are given an array aaa consisting

原创 [gym101620G] Gambling Guide

Time limit: 3 s Memory limit: 512 MiB A railroad network in a nearby country consists of nnn cities numbered 111 th

原创 [HDU6081]度度熊的王國戰略

Time Limit: 40000/20000 MS (Java/Others) Memory Limit: 32768/132768 K (Java/Others) Problem Description 度度熊國王率領着喵哈哈

原创 [vijosP1076]海戰

學弟請教的一道題目。。。 背景 在峯會期間,武裝部隊得處於高度戒備。警察將監視每一條大街,軍隊將保衛建築物,領空將佈滿了F-2003飛機。此外,巡洋船隻和艦隊將被派去保護海岸線。不幸的是因爲種種原因,國防海軍部僅有很少的幾位軍官能

原创 [hdu6081]度度熊的王國戰略

Time Limit: 40000/20000 MS (Java/Others) Memory Limit: 32768/132768 K (Java/Others) Problem Description 度度熊國王率領着喵哈哈

原创 [codeforces1073E]Segment Sum

time limit per test : 1 second memory limit per test : 256 megabytes 分數:2300 You are given two integers lll and r(l

原创 [codeforces1202C]You Are Given a WASD-string...

time limit per test : 2 seconds memory limit per test : 256 megabytes 分數:2100 You have a string sss— a sequence of

原创 [codeforces1202E]You Are Given Some Strings...

time limit per test : 3 seconds memory limit per test : 256 megabytes 分數:2500 You are given a string t and n string