Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - exception
Search - exception - List
此程序是一个加,减,乘,除的算法.-This procedure is an add, subtract, multiply, with the exception of the algorithm.
Date : 2026-01-03 Size : 14kb User : 杨海毅

此算法实现超长整数(计算机所不能表示的整数,如长度为100位、1000位)的加、减、乘、除运算!-Long Integer realize this algorithm (the computer should not express an integer, such as a length of 100, 1000) of the add, subtract, multiply, with the exception of computing!
Date : 2026-01-03 Size : 1kb User : 孟繁荣

构造大数运算类 +;-;*;/ 并测试。<br>1. 不考虑括号 <br>2. 输入数据最大长度为40 位,要捕获异常 <br>3. 不考虑输入小数部分,<br>4. 测试要完整,先输入两个数,可输出上面两个数的运算结果 <br>5. 需要输出商和余数-Construction of large numbers+-*/computing and test category. <br> 1. Not consider brackets <br> 2. Input data for the maximum length of 40, it is necessary to catch the exception <br> 3. Do not consider the importation of the fractional part, <br> 4. The test to complete, enter both the number of output above the results of both the number of computing <br> 5. Required output and the balance
Date : 2026-01-03 Size : 13kb User : heqin

舞伴问题 问题描述:一班有m个女生、n个男生(m不等于n), 举办一场舞会. 男女生分别编号坐在舞池两边的椅子上,每曲开始时, 依次从男生和女生中各出一人配对跳舞, 本曲没成功配对者坐着等待下一曲找舞伴,设计一个程序模拟舞伴配对过程。 基本要求:输入男、女学生的姓名、性别,由程序自动为男女生编号,可以顺序编号,也可以随机编号,输出每曲配对情况(包括男、女生的姓名、性别和编号)。原始数据和结果数据要保存到文件中。 测试数据:分别选择男生多于女生、女生多于男生、男女生相等的三组测试数据 提高要求:计算出任意一位男生(编号为X)和任意一位女生(编号为Y), 在第K曲配对跳舞的情况。 考核要求: 用队列表示男、女学生,能够从文件中读取数据,文件中至少包括三组测试数据,分别为男生多于女生、女生多于男生、男女生人数相等。顺序输入舞曲的编号,对于每支舞曲,输入配对跳舞的男、女学生信息。并把本支舞曲的配对情况保存到文件中。完成上述任务,成绩为及格。 在完成考核要求(1)的基础上,直接输出第K支舞曲的配对情况,能够处理异常,如文件空、只有男生或只有女生等。成绩为中等。-In complete assessment requirements (1), and on the basis of the first direct output a counterpart of the dance music K, able to handle exception, such as file empty, only boy or only girls, etc. Results for medium.
Date : 2026-01-03 Size : 1kb User : 窦小海
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.