摘要:
1 #include <iostream> 2 #include <algorithm> 3 #include <cmath> 4 #include <stdio.h> 5 #include <cstring> 6 #include <string> 7 #include <cstdlib> 8 # 阅读全文
摘要:
Problem Description 给你一个m×n的整数矩阵,在上面找一个x×y的子矩阵,使子矩阵中所有元素的和最大。 Input 输入数据的第一行为一个正整数T,表示有T组测试数据。每一组测试数据的第一行为四个正整数m,n,x,y(0<m,n<1000 AND 0<x<=m AND 0<y<= 阅读全文
摘要:
#include #include #include #include #include #include #include #include #include #include #include #include #include //#include using namespace std; string s; char ss[103]; ... 阅读全文
摘要:
Monitor Time Limit: 6000/3000 MS (Java/Others) Memory Limit: 163840/163840 K (Java/Others)Total Submission(s): 1906 Accepted Submission(s): 554 Proble 阅读全文
摘要:
1 #include <iostream> 2 #include <algorithm> 3 #include <cmath> 4 #include <stdio.h> 5 #include <cstring> 6 #include <string> 7 #include <cstdlib> 8 # 阅读全文
摘要:
1 #include <iostream> 2 #include <algorithm> 3 #include <cmath> 4 #include <stdio.h> 5 #include <cstring> 6 #include <string> 7 #include <cstdlib> 8 # 阅读全文
摘要:
1 #include <iostream> 2 #include <algorithm> 3 #include <cmath> 4 #include <stdio.h> 5 #include <cstring> 6 #include <string> 7 #include <cstdlib> 8 # 阅读全文
摘要:
1 #include <iostream> 2 #include <algorithm> 3 #include <cmath> 4 #include <stdio.h> 5 #include <cstring> 6 #include <string> 7 #include <cstdlib> 8 # 阅读全文
摘要:
题目描述 RR国和SS国正陷入战火之中,双方都互派间谍,潜入对方内部,伺机行动。历尽艰险后,潜伏于SS国的RR 国间谍小CC终于摸清了 SS 国军用密码的编码规则: 1. SS国军方内部欲发送的原信息经过加密后在网络上发送,原信息的内容与加密后所得的内容均由大写字母‘AA’-‘ZZ’构成(无空格等其 阅读全文
摘要:
实验1:老师给的图片材料忽略喵~自己设计的有图片喵~ 实验2: 1 <!doctype html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>icafe咖啡馆</title> 6 <link rel="styleshe 阅读全文
摘要:
题目描述 给定一个整数,请将该数各个位上数字反转得到一个新数。新数也应满足整数的常见形式,即除非给定的原数为零,否则反转后得到的新数的最高位数字不应为零(参见样例2)。 输入输出格式 输入格式: 一个整数 NN 输出格式: 一个整数,表示反转后的新数。 输入输出样例 输入样例#1: 复制 123 输 阅读全文
摘要:
.. 题目描述 一元nn次多项式可用如下的表达式表示: f(x)=a_nx^n+a_{n-1}x^{n-1}+\cdots +a_1x+a_0,a_n\ne 0f(x)=anxn+an−1xn−1+⋯+a1x+a0,an≠0 其中,a_ix^iaixi称为ii次项,a_iai 称为ii 阅读全文
摘要:
I Algorithm Choosing Mushrooms 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld 题目描述 Baby bear and his good friends are very fo 阅读全文
摘要:
G 点我 X腿与队友到河北省来参加2019河北省大学生程序设计竞赛,然而这场比赛的题目难度实在是太高了。比赛开始一个小时后,X腿仍然没有做出一个题。这时候,X腿惊讶的发现电脑屏幕上出现了一个神奇按钮,按钮上写着”点我签到“。X腿非常兴奋,于是他点击了这个按钮,只见屏幕上的题目状态由“未提交”转变成了 阅读全文
摘要:
各位学弟学妹,注意独立思考w(゚Д゚)w 1.图书类 发布时间: 2019年3月1日 22:34 时间限制: 1000ms 内存限制: 128M 描述 以下是图书类Book的声明,缺少实现部分,请实现成员函数并编写main函数测试Book类。 class Book { private: char * 阅读全文