As Easy As A+BTime Limit: 2000/1000 MS (Java/Others)    Memory Lim
原创 2022-08-11 16:11:09
188阅读
小记:练习排序算法可以哦。思路:选择,冒泡,希尔,
原创 2023-07-18 18:38:43
40阅读
As Easy As A+B Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 53368 Accepted Submission(s): 229
转载 2016-05-22 23:08:00
122阅读
2评论
#include #include using namespace std;int T,a[1005],n;int main(){ scanf("%d",&T); while(T--){ scanf("%d",&n); for(int i=0;i<n;i++...
转载 2014-08-29 14:59:00
10阅读
思路:A、B分别对100取余的数相加再对100取余就可以了。
原创 2015-01-16 14:29:09
57阅读
As Easy As A+BTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/
原创 2022-08-05 10:46:08
31阅读
As Easy As A+BTime Limit: 2000/1000 MS (Java/Others)Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15920Accepted Submission(s): 6448Problem DescriptionThese days, I am thinking about a question, how can I get a problem as easy as A+B? It is fairly difficulty to do such a thing. Of cou
转载 2011-07-28 20:37:00
35阅读
2评论
题目:       As Easy As A+BTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 2678 Accepted Submission(s): 1280 Problem DescriptionThese days, I am think
原创 2015-01-29 21:02:18
53阅读
As Easy As A+BProblem DescriptionThese days, I am thinking about a question, how can I get a problem as easy as A+B? It is fairly difficulty to do such a thing. Of course, I got it after m
原创 2022-12-02 00:03:18
76阅读
As Easy A测试,输出排好序的结果Sample Input23 2 1 ...
原创 2023-05-24 14:46:20
44阅读
问题链接:HDU1040 As Easy As A+B。问题描述:参见上文。问题分析:这是一个排序问题,关键在于处理输入的循环控制。套路要掌握好,输入有多个case。程序说明:(略)参考链接:(略)AC的C++语言程序:/* HDU1040 As Easy As A+...
转载 2017-05-14 22:30:00
64阅读
2评论
As Easy As A+BTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (J
原创 2022-09-26 14:34:05
21阅读
最后一天差个奖励,A+B吧最短代码版#include <bits/stdc++.h> int main(int a,int b) { return (scanf("%d%d",&a,&b),printf("%d",a+b))&0; }某种意义上的最短代码(快读)版#include <bits/stdc++.h> int read() {
原创 2024-02-26 22:18:27
33阅读
思路:从第一个闰年开始,一直加4的
原创 2023-07-18 18:42:01
58阅读
Problem Description These days, I am thinking about a question, how can I get a problem as easy as A+B? It is fairly difficulty to do such a thing. Of course, I got it after many waking nights. Give
原创 2022-09-28 11:00:15
122阅读
题目大意:给你一个数N,输出N*N的矩阵,每项为i*j。思路:两重for循环直接输出。
原创 2015-01-28 21:25:21
40阅读
题目链接: so easy Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 138 Accepted Submission(s): 110 Pro
转载 2016-03-26 23:37:00
44阅读
题目大意:给了递推公式,如果当前i%3==0,则sum(i) = sum(i-1) + i*i*i;否则sum(i) = sum(i-1) + i。思路:因为数据略大一些,所以用__int64整型来存储结果。
原创 2015-01-28 21:59:39
44阅读
#include<cstdio> #include<cstring> using namespace std; char s[10]; int main() { int a,b; while(scanf("%d%d",&a,&b)==2) { memset(s,0,sizeof(s)); a=a+b
转载 2018-03-27 13:28:00
126阅读
Problem Description These days, I am thinking about a question, how can I get a problem as easy as A+B? It is fairly difficulty to do such a thing. Of course, I got it after many waking nights. Give
原创 2022-05-14 11:48:12
72阅读
  • 1
  • 2
  • 3
  • 4
  • 5