题目题意:给定两个数以及其中一个数的ed...
转载 2023-06-27 10:17:48
57阅读
Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is "yes", if 6 is a decimal number and 110 is
转载 2018-08-02 17:05:00
102阅读
1010 Radix (25分) Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is yes, if 6 is a decimal nu
原创 2022-06-02 18:19:29
30阅读
1010. Radix (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程序Standard作者CH
原创 2022-10-18 14:01:10
33阅读
gers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is “yes”, if 6 is a decimal number and 110
原创 2022-10-21 16:05:34
57阅读
Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is yes, if 6 is a decimal number and 110 is a ...
转载 2021-08-11 14:13:00
107阅读
2评论
题意 给定一个正整数数对N1,N2,并给出其中一个数字的进制,请你求出另一个数字在什么进制下,两数相等成立。如果答案不唯一,则输出最小的进制数。 范围:N1和N2均不超过10个数位,且每个数位均为0 ~ 9或a ~ z,其中0 ~ 9表示数字0 ~ 9、a ~ z表示数字10 ~ 35。 思路 将已
转载 2021-02-19 19:29:00
100阅读
#include<iostream>#include<stdio.h>#include<stdlib.h>#include<math.h>#include<string.h>#include<algorithm> #include<map>#include<vector>#inclu...
原创 2022-07-14 10:30:40
46阅读
返回目录题意输入四个整数NI、N2、tag、 radix. 其中tag=1表示NI为radix进制数,tag=2 表示N2为radix进制数。范围: NI和N2均不超过10个数位,且每个数位均为0-9或a-z,其中0-9表示数字0-9、a-z表示数字10~35。求NI和N2中未知进制的那个数是否存在,并满足某个进制时和另一个数在十进制下相等的条件。若存在,则输出满足条件的最小进制:否则,输出...
原创 2022-07-14 17:45:52
72阅读
Given a pair of positive integers, for example, 6 and 110, can this equation(方程、等式) 6 = 110 be true? The answ
原创 2022-05-25 18:02:04
67阅读
1010Radix(25 point(s))Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? T
原创 2022-09-15 10:57:00
26阅读
进制不唯一:当N1 和N2 都只有一位数时。他的值由他自己决定,与进制无关,但是此时大于它的都可以是它的进制,是否相等看N1=?=N2 进制唯一:当N1和N2两位或以上时,他的值与进制有关,当其中一个确定,当相等时,另一个对应的进制唯一anX^n+an-1*X^n-1+……+a1X^1+a0X^0=anY^n+an-1*Y^n-1+……+a1Y^1+a0Y^0n=0时 , a0X^0=a0Y^0 n>0时,an(X^n-Y^n)+an-1*(X^n-1-Y^n-1)+……+a1(X-Y)+a0
原创 2022-11-25 11:13:37
56阅读
1010
原创 2022-09-19 15:45:36
84阅读
Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is "yes", if 6 is a decimal number and 110 is
转载 2017-10-13 16:45:00
54阅读
1010 Radix (25 point(s))Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is yes, if 6 is a decimal number and 110 is a binary number.Now for any
原创 2023-06-09 14:01:08
64阅读
Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer isyes, if 6 is a decimal number and ive inte...
原创 2023-03-02 05:53:44
68阅读
#include <bits/stdc++.h>using namespace std;/* run this program using the console pauser or add your own getch, system("pa
原创 2023-01-09 17:10:30
42阅读
1010. Radix (25)Given a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer is "yes", if 6 is a decimal number and 110 is a binary number.Now for any pair of positive integers N1 and N2, your task is to find the radix of one number while that of
转载 2014-02-27 15:19:00
72阅读
2评论
1010. Radix (25)时间限制400 ms内存限制65536 kB代码长度限制16000 B判题程
原创 2022-11-09 18:27:23
90阅读
A1010 RadixGiven a pair of positive integers, for example, 6 and 110, can this equation 6 = 110 be true? The answer isyes, if 6 is a decimal number and 110 is a binary number.Now for any pair of ...
原创 2021-07-09 15:04:50
35阅读
  • 1
  • 2
  • 3
  • 4
  • 5