ICode9

精准搜索请尝试: 精确搜索
  • 信息学奥赛一本通 1169:大整数减法2022-09-03 11:30:09

    时间限制: 1000 ms         内存限制: 65536 KB 提交数: 35546     通过数: 20249 【题目描述】 求两个大的正整数相减的差。 【输入】 共2行,第1行是被减数a,第2行是减数b(a > b)。每个大整数不超过200位,不会有多余的前导零。 【输出】 一行,即所求的差。 【输入样

  • Leetcode 1169. 查询无效交易(如果数据量不大,这种题还是得暴力枚举解决)2022-06-26 11:35:34

    如果出现下述两种情况,交易 可能无效: 交易金额超过 $1000 或者,它和 另一个城市 中 同名 的另一笔交易相隔不超过 60 分钟(包含 60 分钟整) 给定字符串数组交易清单 transaction 。每个交易字符串 transactions[i] 由一些用逗号分隔的值组成,这些值分别表示交易的名称,时间(以分钟计),金

  • zzulioj 1169: 大整数(指针专题)2021-09-20 18:00:04

    题目描述 输入3个非负大整数,位数不超过100位,按从小到大的顺序输出这三个整数。要求定义并使用如下函数比较两个大整数的大小。 int cmp(char *a,char *b) { //若大整数a大于b,返回1; //若a小于b,返回-1; // 若a与b相等,返回0 } 输入 输入有3行,每行输入一个大整数,位数不超过100位,输

  • 【TWVRP】基于matlab节约算法求解带时间窗的电动车路径规划问题【含Matlab源码 1169期】2021-07-31 19:02:14

    一、简介 基本思想 行时通过这一条弧。 迭代步骤 二、源代码 function [outcome1,outcome2,outcome3]=cw(Numberoffacilities,assignofpoint,ttimeu,timewindow,distMatrix,quantity,Qofcar,p1) H=1; outcome3=zeros(1,Numberoffacilities);%与设施点的伪编

  • 【TWVRP】基于matlab节约算法求解带时间窗的电动车路径规划问题【含Matlab源码 1169期】2021-07-31 19:00:59

    一、简介 基本思想 行时通过这一条弧。 迭代步骤 二、源代码 function [outcome1,outcome2,outcome3]=cw(Numberoffacilities,assignofpoint,ttimeu,timewindow,distMatrix,quantity,Qofcar,p1) H=1; outcome3=zeros(1,Numberoffacilities);%与设施点的伪编号是一

  • SDNUOJ 1169.火星人(全排列函数的应用)2021-01-17 21:59:56

    Time Limit: 1000 MS Memory Limit: 32768 KB Description 人类终于登上了火星的土地并且见到了神秘的火星人。人类和火星人都无法理解对方的语言,但是我们的科学家发明了一种用数字交流的方法。这种交流方法是这样的,首先,火星人把一个非常大的数字告诉人类科学家,科学家破解这

  • LeetCode 1169. 查询无效交易2020-06-07 17:05:33

    1. 题目 如果出现下述两种情况,交易 可能无效: 交易金额超过 ¥1000 或者,它和另一个城市中同名的另一笔交易相隔不超过 60 分钟(包含 60 分钟整) 每个交易字符串 transactions[i] 由一些用逗号分隔的值组成,这些值分别表示交易的名称,时间(以分钟计),金额以及城市。 给你一份交易清

  • 1169. Invalid Transactions2019-08-25 14:09:59

    A transaction is possibly invalid if: the amount exceeds $1000, or; if it occurs within (and including) 60 minutes of another transaction with the same name in a different city. Each transaction string transactions[i] consists of comma separated valu

  • LeetCode 1169:查询无效交易(Invalid Transactions)解法汇总2019-08-25 13:38:54

    文章目录Solution 更多LeetCode题解 A transaction is possibly invalid if: the amount exceeds $1000, or; if it occurs within (and including) 60 minutes of another transaction with the same name in a different city. Each transaction string transactions[i

  • 1169:大整数减法2019-06-16 11:00:41

    传送门:http://ybt.ssoier.cn:8088/problem_show.php?pid=1169       【题目描述】 求两个大的正整数相减的差。 【输入】 共2行,第1行是被减数a,第2行是减数b(a > b)。每个大整数不超过200位,不会有多余的前导零。 【输出】 一行,即所求的差。 【输入样例】 9999999999999999999999

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有