C. 光标移动time limit per test1 secondmemory limit per test256 megabytesinputin有4个操作:"Up"
原创 2012-12-08 22:51:04
44阅读
http://codeforces.com/contest/442/problem/C题意非常easy,
转载 2015-10-28 11:16:00
46阅读
2评论
题解:将前六个后六个字符分开存
原创 2023-06-29 00:11:47
45阅读
定义f[i][j]表示从(i,j)走到最后一行的期望,不断从下往上dp那么对于每一行都可以得到m个方程。 但由于这m个方程不是DAG,因此考虑用高斯消元,但时间复杂度不对。 观察方程可以发现如果不断将f[i][j]表示出f[i][j+1]并代入那么就可以计算出f[n][m],再不断反代出来即可。 1
转载 2019-08-07 19:56:00
60阅读
2评论
You run the SQL Tuning Advisor (STA) to tune a SQL statement that is part of a fixed SQL planbaseline. The STA generates a SQL profile for the SQL sta
转载 2017-11-17 13:19:00
80阅读
2评论
Cube paintingWe have a machine for painting cubes. It is supplied withthree different colors: blue,red and green. Each face of the cube gets oneof these colors. The cube's faces arenumbered as in Figure 1.Figure 1.Since a cube has 6 faces, our machine canpaint a face-numbered cube in different w
转载 2013-08-07 19:18:00
115阅读
作者: 负雪明烛id: fuxuemingzhu个人博客:http://fuxuemingzhu.cn/目录题目描述题目大意解题方法排序+堆日期题目地址:https://leetcode-cn.com/problems/meeting-rooms/题目描述Given an array of meeting time intervals consisting of ...
原创 2021-07-14 11:05:11
560阅读
《Programming Abstractions in C》学习第69天,p248-p253总结,总计6页。一、技术总结“A generalized program for two-player games”如标题所示,该小节强调要学会从一个复杂的程序中抽象出通用的内容——这也是本书的主旨——“Programming Abstractions in C”。示例:#include <stdi
C
原创 7月前
125阅读
A generalized program for two-player games”如标题所示,该小节强调要学会从一个复杂的程序中抽象出通用的内容——这也是本书
原创 6月前
0阅读
作者: 负雪明烛id: fuxuemingzhu个人博客:http://fuxuemingzhu.cn/目录题目描述题目大意解题方法排序+堆日期题目地址:https://leetcode-cn.com/problems/meeting-rooms/题目描述Given an array of meeting time intervals consisting of ...
原创 2022-03-02 14:10:49
222阅读
nchapi...
题目大意:两个正方体,前六个字符代表第一个正方体按图中的编号,进行涂色。后六个字符代表第二个
原创 2021-12-01 16:04:25
120阅读
#include #include #include #include using namespace std;int main(void){ char a[13], c1[6], c2[6]; #ifndef ONLINE_JUDGE freopen("in", "r", stdin);#endif while (cin>>a) {
原创 2022-08-05 15:46:27
24阅读
ARTICLES & TUTORIALSAndroid O: Fonts – Part 1Android O中的自定义字体支持.Google Fonts是一个很好的资源网站, 里面的字体都是开源的, 可以在app中免费试用.下载了字体资源(.ttf)之后, 加入项目资源字体文件夹:res/font/, 点击会显示字体的preview.使用的时候只需要这样:android:fontFamil
转载 2021-06-02 16:08:14
108阅读
这道题酝酿三天了,O(∩_∩)O哈哈~,其实就是懒~~而且是1A哦~算是近期做的比较难的一道题了。本题可以参考刘汝佳的《算法竞赛入门经典训练指南》里第一章例8(Colored Cubes, LA 3401),本题只是书中例题的简化版。问题分析:怎么判断两个正方体是否相等呢?我是用一个结构体来存放CU...
转载 2014-07-01 08:16:00
59阅读
2评论
简单的安装为了实验而实验: [root@server1 ~]# ifconfig eth0 eth0      Link encap:Ethernet  HWaddr 00:0C:29:BA:70:10           inet addr:
原创 2010-10-20 18:40:31
479阅读
https://vjudge.net/problem/UVA-253 题意:输入两个骰子的六面颜色,判断是否等价。 思路:我最想到的是暴力,不过一直错,也不知道哪里错了。第二种方法就是在一个骰子里出现的一对颜色在第二个骰子也有,只要三对颜色都匹配成功,那么就是等价的。 再附上我的暴力,不过是wron
转载 2017-01-18 22:18:00
89阅读
2评论
uva 253 Cube paintin
原创 2023-07-26 17:02:47
47阅读
题目大意:求两个立方体是否相同
原创 2023-04-07 10:41:49
33阅读
  • 1
  • 2
  • 3
  • 4
  • 5