首页 > TAG信息列表 > 1704

中国运营商号段(截至2022年7月)

中国联通:130、131、132、140(物)、145、146(物)、155、156、166、167(虚)、1704(虚)、1707(虚)、1708(虚)、1709(虚),171(虚)、175、176、185、186、196(5G) 中国移动:134(0-8)、135、136、137、138、139、144(物)、147、148(物)、150、151、152、157、158、159、165(虚)、1703(虚)

让计算机“唱歌”(1704)

本文为《汇编语言程序设计》1704小节例程。点击链接…进课程主页。 任务:编程序,让计算机“唱”歌曲《新年好》 程序: assume cs:codeseg, ds:dataseg, ss:stackseg dataseg segment mus_freq dw 262,262,262,196 dw 330,330,330,262 dw 262,330,392,392

Georgia and Bob POJ - 1704

原题链接 考察:博弈论 思路:   看了大佬题解才发现是阶梯博弈,这里讲一下为什么是阶梯博弈.   以第二个样例:   1 5 6 7 9 12 14 17 我们计算出每个人可以移动的距离数组b:0 3 0 0 1 2 1 2 假设我们把第二个人往左移动2格,该数列变成:0 1 2 0 1 2 1 2   有没有发现什么规

Rank HDU - 1704

原题链接 考察:floyd 思路:         很明显的传递闭包,但是我们直接敲板子上去会TLE.神级剪枝在floyd的第三重循环,如果g[i][k] = 0那么第三重循环没必要进行. 1 #include <iostream> 2 #include <cstring> 3 using namespace std; 4 const int N = 510; 5 int n,m; 6

LeetCode 1704. 判断字符串的两半是否相似

给你一个偶数长度的字符串 s 。将其拆分成长度相同的两半,前一半为 a ,后一半为 b 。 两个字符串 相似 的前提是它们都含有相同数目的元音(‘a’,‘e’,‘i’,‘o’,‘u’,‘A’,‘E’,‘I’,‘O’,‘U’)。注意,s 可能同时含有大写和小写字母。 如果 a 和 b 相似,返回 true ;否则,返回 false

HDU - 1704 - Rank(floyd传递闭包)

[题目链接](https://vjudge.net/contest/364766#problem/C) 题目大意:每两个点之间只有一条边表示两点关系,关系具有传递性,问有多少点对之间没有关系。   这题利用了传递闭包来解。我们根据题目输入可以得到一条\(a->b\)的边,表示\(a\)赢\(b\),那么反过来我们也可以建立一条\(a<-b\)

hdu-1704 Rank

there are N ACMers in HDU team. ZJPCPC Sunny Cup 2007 is coming, and lcy want to select some excellent ACMers to attend the contest. There have been M matches since the last few days(No two ACMers will meet each other at two matches, means between two A