
简单c语言
文章平均质量分 64
Dijkstra__
这个作者很懒,什么都没留下…
展开
-
北斗七星
#include#include#include#includeint a;int b[100];int c;int main(){ int i,j,k; int t; int sum=0; while(scanf("%d",&a)==1){ c=1000000; //b[0]=a/c; t=c;原创 2015-12-22 15:01:32 · 4195 阅读 · 3 评论 -
BUCT OJ C语言程序设计教程(第三版)课后习题11.3
题目描述现有有N个学生的数据记录,每个记录包括学号、姓名、三科成绩。 编写一个函数input,用来输入一个学生的数据记录。 编写一个函数print,打印一个学生的数据记录。 在主函数调用这两个函数,读取N条记录输入,再按要求输出。 N输入学生数量N占一行 每个学生的学号、姓名、三科成绩占一行,空格分开。输出每个学生的学号、姓名、三科成绩占一行,逗号分开。原创 2016-12-13 23:42:12 · 2632 阅读 · 0 评论 -
poj2388
这是我做过最水的poj题目了Who's in the MiddleTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 39035 Accepted: 22663DescriptionFJ is surveying his herd to fin原创 2016-07-23 15:12:47 · 1050 阅读 · 0 评论 -
poj1936
All in AllTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 31712 Accepted: 13155DescriptionYou have devised a new encryption technique which encodes a原创 2016-07-23 14:54:21 · 1086 阅读 · 0 评论 -
poj 1035
Spell checkerTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 24176 Accepted: 8807DescriptionYou, as a member of a development team for a new spell che原创 2016-07-23 10:07:59 · 1002 阅读 · 0 评论 -
集合的问题
题目描述假设利用两个线性表LA和LB分别表示两个集合A和B(即:线性表中的数据元素即为集合中的成员),现要求一个新的集合A=A∪B。这就要求对线性表做如下操作:扩大线性表LA,将存在于线性表LB中而不存在于线性表LA中的数据元素插入到线性表LA中去。只要从线性表LB中依次取得每个元素,并依值在线性表LA中进行查访,若不存在,则插入之。上述操作过程可用下列算法描述之。 图原创 2016-03-30 22:41:23 · 1247 阅读 · 0 评论 -
Count the string
Total Submission(s) : 22 Accepted Submission(s) : 11Problem DescriptionIt is well known that AekdyCoin is good at string problems as well as number theory problems. When given a string s, we转载 2015-12-24 23:55:31 · 1246 阅读 · 0 评论 -
Wow! Such Doge!
Chen, Adrian (November 7, 2013). “Doge Is An Ac- tually Good Internet Meme. Wow.”. Gawker. Retrieved November 22, 2013. Doge is an Internet meme that became popular in 2013. The meme typically con原创 2015-12-24 23:39:07 · 1269 阅读 · 0 评论 -
codeforces 948A Protect Sheep
# Protect Sheep A. Protect Sheeptime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBob is a farmer. He has a large pasture with many sheep. R...原创 2018-03-13 01:16:01 · 1436 阅读 · 0 评论