摘要: Problem Description 读入两个小于100的正整数A和B,计算A+B. 需要注意的是:A和B的每一位数字由对应的英文单词给出. Input 测试输入包含若干测试用例,每个测试用例占一行,格式为"A + B =",相邻两字符串有一个空格间隔.当A和B同时为0时输入结束,相应的结果不要输 阅读全文
posted @ 2018-07-07 09:09 子诚- 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 题目链接:https://vjudge.net/problem/UVA-232(VJ) https://vjudge.net/problem/32396/origin(UVaOJ) AC代码: #include<stdio.h> #include<iostream> #include<string> 阅读全文
posted @ 2018-07-05 20:00 子诚- 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 贴两个题目链接,我就不粘题目了,自己去看吧。 https://vjudge.net/problem/UVA-227 https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&prob 阅读全文
posted @ 2018-05-22 21:31 子诚- 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld 空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld 题目描述 集训队暑训的时候,是睡在机房的,有几个小伙子 阅读全文
posted @ 2018-04-15 22:41 子诚- 阅读(198) 评论(0) 推荐(0) 编辑
摘要: 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld 空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld 题目描述 durong有a台iphonex和b台s8, 阅读全文
posted @ 2018-04-15 22:35 子诚- 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld 空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld 题目描述 zhrt是数学大佬,但有一天一道奇怪的数学题 阅读全文
posted @ 2018-04-15 22:33 子诚- 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 时间限制:C/C++ 1秒,其他语言2秒 空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld 空间限制:C/C++ 32768K,其他语言65536K 64bit IO Format: %lld 题目描述 “LL是什么?这都不知道的话,别说自己是程序 阅读全文
posted @ 2018-04-15 22:28 子诚- 阅读(189) 评论(0) 推荐(0) 编辑
摘要: It is easy to see that for every fraction in the form 1 k (k > 0), we can always find two positive integers x and y, x ≥ y, such that: 1/ k = 1 /x + 1 阅读全文
posted @ 2018-03-30 20:42 子诚- 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Given a sequence of integers S = {S1, S2, . . . , Sn}, you should determine what is the value of the maximum positive product involving consecutive te 阅读全文
posted @ 2018-03-28 22:55 子诚- 阅读(117) 评论(0) 推荐(0) 编辑
摘要: Write a program that finds and displays all pairs of 5-digit numbers that between them use the digits 0 through 9 once each, such that the first numbe 阅读全文
posted @ 2018-03-28 21:38 子诚- 阅读(246) 评论(1) 推荐(0) 编辑