
CSUOJ
yzj577
这个作者很懒,什么都没留下…
展开
-
coj1224(宽度优先搜索)
这道题目不算难吗,就是基本的bfs原创 2014-07-17 10:27:32 · 557 阅读 · 0 评论 -
coj1224(用数组储存队列)
之前没有学过队列,这两天了解了一下,C++标准库里有queue类,可以直接使用。但这里,我尝试着根据队列的原理,用数组储存队列,关键是用数组下表控制好进出队。原创 2014-07-17 10:33:22 · 560 阅读 · 0 评论 -
CSU OJ 三家人(湖南省第八届大学生计算机程序设计竞赛)
题目链接:http://acm.csu.edu.cn/OnlineJudge/problem.php?id=1111 这是道简单的数学题。#includeint main(){ int t,z,d;; float x,y,k,s; scanf("%d",&t); int i; while (t--) { sc原创 2014-09-03 16:34:04 · 1159 阅读 · 0 评论 -
CSUOJ 机器人的指令 (湖南省第八届大学生计算机程序设计竞赛)
题目链接:http://acm.csu.edu.cn/OnlineJudge/problem.php?id=1112简单的模拟题。#includeint main(){ int as[100]; int t,n,m,i,x; char ch[20]; scanf("%d",&t); while(t--) { scanf原创 2014-09-03 16:44:40 · 1290 阅读 · 0 评论