0_0_31890456_23340.cpp:4:2: error: stray '#' in program
long int n;
^
0_0_31890456_23340.cpp:5:2: error: stray '#' in program
int m;
^
0_0_31890456_23340.cpp:5:11: error: stray '#' in program
int m;
^
0_0_31890456_23340.cpp:6:2: error: stray '#' in program
int i;//用i来标记数组元素的位子,从而实现未知长度的数组的逆序输出
^
0_0_31890456_23340.cpp:7:2: error: stray '#' in program
int flag ;
^
0_0_31890456_23340.cpp:8:2: error: stray '#' in program
int num[100];//不知道要多长,但100一定够了
^
0_0_31890456_23340.cpp:9:2: error: stray '#' in program
^
0_0_31890456_23340.cpp:9:8: error: stray '#' in program
^
0_0_31890456_23340.cpp:10:2: error: stray '#' in program
while (scanf_s("%d%d", &n,&m) != EOF)
^
0_0_31890456_23340.cpp:10:8: error: stray '#' in program
while (scanf_s("%d%d", &n,&m) != EOF)
^
0_0_31890456_23340.cpp:11:2: error: stray '#' in program
{
^
0_0_31890456_23340.cpp:11:8: error: stray '#' in program
{
^
0_0_31890456_23340.cpp:12:2: error: stray '#' in program
i = 0;
^
0_0_31890456_23340.cpp:12:8: error: stray '#' in program
i = 0;
^
0_0_31890456_23340.cpp:12:14: error: stray '#' in program
i = 0;
^
0_0_31890456_23340.cpp:13:2: error: stray '#' in program
flag = 0;
^
0_0_31890456_23340.cpp:13:8: error: stray '#' in program
flag = 0;
^
0_0_31890456_23340.cpp:13:14: error: stray '#' in program
flag = 0;
^
0_0_31890456_23340.cpp:14:2: error: stray '#' in program
if (n<0)//题目没说一定是正数,坑点之一
^
0_0_31890456_23340.cpp:14:8: error: stray '#' in program
if (n<0)//题目没说一定是正数,坑点之一
^
0_0_31890456_23340.cpp:14:14: error: stray '#' in program
if (n<0)//题目没说一定是正数,坑点之一
^
0_0_31890456_23340.cpp:15:2: error: stray '#' in program
{
^
0_0_31890456_23340.cpp:15:8: error: stray '#' in program
{
^
0_0_31890456_23340.cpp:15:14: error: stray '#' in program
{
^
0_0_31890456_23340.cpp:16:2: error: stray '#' in program
n = -n;
^
0_0_31890456_23340.cpp:16:8: error: stray '#' in program
n = -n;
^
0_0_31890456_23340.cpp:16:14: error: stray '#' in program
n = -n;
^
0_0_31890456_23340.cpp:16:20: error: stray '#' in program
n = -n;
^
0_0_31890456_23340.cpp:17:2: error: stray '#' in program
flag = 1;
^
0_0_31890456_23340.cpp:17:8: error: stray '#' in program
flag = 1;
^
0_0_31890456_23340.cpp:17:14: error: stray '#' in program
flag = 1;
^
0_0_31890456_23340.cpp:17:20: error: stray '#' in program
flag = 1;
^
0_0_31890456_23340.cpp:18:2: error: stray '#' in program
}
^
0_0_31890456_23340.cpp:18:8: error: stray '#' in program
}
^
0_0_31890456_23340.cpp:18:14: error: stray '#' in program
}
^
0_0_31890456_23340.cpp:19:2: error: stray '#' in program
if (flag)
^
0_0_31890456_23340.cpp:19:8: error: stray '#' in program
if (flag)
^
0_0_31890456_23340.cpp:19:14: error: stray '#' in program
if (flag)
^
0_0_31890456_23340.cpp:20:2: error: stray '#' in program
{
^
0_0_31890456_23340.cpp:20:8: error: stray '#' in program
{
^
0_0_31890456_23340.cpp:20:14: error: stray '#' in program
{
^
0_0_31890456_23340.cpp:21:2: error: stray '#' in program
printf("-");
^
0_0_31890456_23340.cpp:21:8: error: stray '#' in program
printf("-");
^
0_0_31890456_23340.cpp:21:14: error: stray '#' in program
printf("-");
^
0_0_31890456_23340.cpp:21:20: error: stray '#' in program
printf("-");
^
0_0_31890456_23340.cpp:22:2: error: stray '#' in program
}
^
0_0_31890456_23340.cpp:22:8: error: stray '#' in program
}
^
0_0_31890456_23340.cpp:22:14: error: stray '#' in program
}
^
0_0_31890456_23340.cpp:23:2: error: stray '#' in program
while (n)//简易的实现进制转化办法,自己写的方法太low,多学习别人怎么写的。
^
0_0_31890456_23340.cpp:23:8: error: stray '#' in program
while (n)//简易的实现进制转化办法,自己写的方法太low,多学习别人怎么写的。
^
0_0_31890456_23340.cpp:23:14: error: stray '#' in program
while (n)//简易的实现进制转化办法,自己写的方法太low,多学习别人怎么写的。
^
0_0_31890456_23340.cpp:24:2: error: stray '#' in program
{
^
0_0_31890456_23340.cpp:24:8: error: stray '#' in program
{
^
0_0_31890456_23340.cpp:24:14: error: stray '#' in program
{
^
0_0_31890456_23340.cpp:25:2: error: stray '#' in program
num[i++] = n % m;
^
0_0_31890456_23340.cpp:25:8: error: stray '#' in program
num[i++] = n % m;
^
0_0_31890456_23340.cpp:25:14: error: stray '#' in program
num[i++] = n % m;
^
0_0_31890456_23340.cpp:25:20: error: stray '#' in program
num[i++] = n % m;
^
0_0_31890456_23340.cpp:26:2: error: stray '#' in program
n = n / m;
^
0_0_31890456_23340.cpp:26:8: error: stray '#' in program
n = n / m;
^
0_0_31890456_23340.cpp:26:14: error: stray '#' in program
n = n / m;
^
0_0_31890456_23340.cpp:26:20: error: stray '#' in program
n = n / m;
^
0_0_31890456_23340.cpp:27:2: error: stray '#' in program
^
0_0_31890456_23340.cpp:27:8: error: stray '#' in program
^
0_0_31890456_23340.cpp:27:14: error: stray '#' in program
^
0_0_31890456_23340.cpp:28:2: error: stray '#' in program
}
^
0_0_31890456_23340.cpp:28:8: error: stray '#' in program
}
^
0_0_31890456_23340.cpp:28:14: error: stray '#' in program
}
^
0_0_31890456_23340.cpp:29:2: error: stray '#' in program
for (int j = i - 1;j >= 0;j--)//逆序输出
^
0_0_31890456_23340.cpp:29:8: error: stray '#' in program
for (int j = i - 1;j >= 0;j--)//逆序输出
^
0_0_31890456_23340.cpp:29:14: error: stray '#' in program
for (int j = i - 1;j >= 0;j--)//逆序输出
^
0_0_31890456_23340.cpp:30:2: error: stray '#' in program
{
^
0_0_31890456_23340.cpp:30:8: error: stray '#' in program
{
^
0_0_31890456_23340.cpp:30:14: error: stray '#' in program
{
^
0_0_31890456_23340.cpp:31:2: error: stray '#' in program
if (num[j] < 10)
^
0_0_31890456_23340.cpp:31:8: error: stray '#' in program
if (num[j] < 10)
^
0_0_31890456_23340.cpp:31:14: error: stray '#' in program
if (num[j] < 10)
^
0_0_31890456_23340.cpp:31:20: error: stray '#' in program
if (num[j] < 10)
^
0_0_31890456_23340.cpp:32:2: error: stray '#' in program
printf("%d", num[j]);
^
0_0_31890456_23340.cpp:32:8: error: stray '#' in program
printf("%d", num[j]);
^
0_0_31890456_23340.cpp:32:14: error: stray '#' in program
printf("%d", num[j]);
^
0_0_31890456_23340.cpp:32:20: error: stray '#' in program
printf("%d", num[j]);
^
0_0_31890456_23340.cpp:32:26: error: stray '#' in program
printf("%d", num[j]);
^
0_0_31890456_23340.cpp:33:2: error: stray '#' in program
else printf("%c", num[j] - 10 + 'A');//若大于9,则用ABCDEFG输出,巧妙的方法
^
0_0_31890456_23340.cpp:33:8: error: stray '#' in program
else printf("%c", num[j] - 10 + 'A');//若大于9,则用ABCDEFG输出,巧妙的方法
^
0_0_31890456_23340.cpp:33:14: error: stray '#' in program
else printf("%c", num[j] - 10 + 'A');//若大于9,则用ABCDEFG输出,巧妙的方法
^
0_0_31890456_23340.cpp:33:20: error: stray '#' in program
else printf("%c", num[j] - 10 + 'A');//若大于9,则用ABCDEFG输出,巧妙的方法
^
0_0_31890456_23340.cpp:34:2
|