重新学编程之字符串
ZZ --瑞 hopeACMer
WA就完事了
展开
-
G - Gravity Gym - 101291G (字符的换位)
Download #include <iostream> #include <string.h> #include <stdio.h> #include <algorithm> using namespace std; int main() { char s[510][510]; int a,b; cin >>...原创 2019-07-23 14:30:39 · 246 阅读 · 0 评论 -
E - Substring Reverse Gym - 101755E (字符串,这题有毒)
Two stringssandtof the same length are given. Determine whether it is possible to maketfromsusing exactly one reverse of some its substring. Input The first line contains the strings, and t...原创 2019-08-06 14:34:50 · 209 阅读 · 1 评论 -
L - Queries on a String Gym - 101755L (字符串的查询)
A stringsis given. Also there is a stringp, and initially it is empty. You need to performqoperations of kind «add a letter to the end of the stringp» and «remove a letter from the end of the st...原创 2019-08-06 19:50:09 · 199 阅读 · 0 评论 -
H - Pair: normal and paranormal URAL - 2019 (字符串+栈)
If you find yourself in Nevada at an abandoned nuclear range during Halloween time, you’ll become awitness of an unusual show. Here Ghostbusters hold annual tests for new versions of their proton pac...原创 2019-08-07 19:12:50 · 126 阅读 · 0 评论 -
manacher详细讲解(最长回文字符串)
https://segmentfault.com/a/1190000008484167原创 2019-08-20 15:42:01 · 122 阅读 · 0 评论