
zjut 浙江工业大学
yzl_rex
这个作者很懒,什么都没留下…
展开
-
zjut 1280 小明A+B
//好郁闷,做这题的时候完全没有想到会溢出,哎,做的题目还是不够多,经验不足啊! #include "iostream" using namespace std; int main() { int TestCase; cin >> TestCase; while (TestCase--) { int A, B, ans; cin >> A >> B;原创 2011-12-19 00:15:36 · 652 阅读 · 0 评论 -
zjut 1072 百钱买百鸡问题
#include "iostream" using namespace std; int main() { int a, b, c; for (a = 0; a < 100/3+1; a++) for (b = 0; b < 100/2+1; b++) { c = 100 - a - b; if (((a * 3 + b *2 + c/3) == 10原创 2011-12-19 12:04:08 · 742 阅读 · 0 评论 -
zjut 1046 绩点计算
//我觉得这题出得不是很好,因为输入的数目有很大的分歧,没有给出一个具体的数! //下面的代码是我参照别人的代码之后,再自己写出的!感觉这题除了输入有点难搞之后,其他的还是比较简单的! #include "iostream" #include "string" #include "vector" #include "algorithm" using namespace std;原创 2011-12-19 12:47:14 · 645 阅读 · 0 评论 -
zjut 1027 大数的乘法
#include "iostream" #include "string" using namespace std; int main() { string str; int a, size, temp1; while (cin >> str >> a) { string ans = ""; if (a == 0) cout << "0" << en原创 2011-12-19 22:31:22 · 656 阅读 · 1 评论