【发布时间】:2014-08-10 12:01:57
【问题描述】:
我需要加入来自某个区域的 3 个整数 q
int sens1[]= {11,22,13,66,2};
int x= ?? // and here i need to join sens1[0], sens1[1] and sens1[2]
// so the X to be=112213 not like char, like integer value
【问题讨论】:
-
所以你需要做...数学?
x + y * 10输入内容? -
不,它不是矩阵行列式
-
你有什么尝试吗?
-
@Vakho 这个简单的 tadman 样本与矩阵行列式有什么关系?!?
-
似乎有一个缺陷,即 OP 可以通过更改接受的答案再次获得 +2,一些 Mod 可以解释一下吗?
标签: c++ arrays join integer concatenation