F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_26541034_32269.cpp:15:1: error: stray '\261' in program
 本文来自 Co丿 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/qq_23301703/article/details/46876367?utm_source=copy 
 ^
0_0_26541034_32269.cpp:15:1: error: stray '\276' in program
0_0_26541034_32269.cpp:15:1: error: stray '\316' in program
0_0_26541034_32269.cpp:15:1: error: stray '\304' in program
0_0_26541034_32269.cpp:15:1: error: stray '\300' in program
0_0_26541034_32269.cpp:15:1: error: stray '\264' in program
0_0_26541034_32269.cpp:15:1: error: stray '\327' in program
0_0_26541034_32269.cpp:15:1: error: stray '\324' in program
0_0_26541034_32269.cpp:15:1: error: stray '\330' in program
0_0_26541034_32269.cpp:15:1: error: stray '\257' in program
0_0_26541034_32269.cpp:15:1: error: stray '\265' in program
0_0_26541034_32269.cpp:15:1: error: stray '\304' in program
0_0_26541034_32269.cpp:15:1: error: stray '\262' in program
0_0_26541034_32269.cpp:15:1: error: stray '\251' in program
0_0_26541034_32269.cpp:15:1: error: stray '\277' in program
0_0_26541034_32269.cpp:15:1: error: stray '\315' in program
0_0_26541034_32269.cpp:15:1: error: stray '\243' in program
0_0_26541034_32269.cpp:15:1: error: stray '\254' in program
0_0_26541034_32269.cpp:15:1: error: stray '\310' in program
0_0_26541034_32269.cpp:15:1: error: stray '\253' in program
0_0_26541034_32269.cpp:15:1: error: stray '\316' in program
0_0_26541034_32269.cpp:15:1: error: stray '\304' in program
0_0_26541034_32269.cpp:15:1: error: stray '\265' in program
0_0_26541034_32269.cpp:15:1: error: stray '\330' in program
0_0_26541034_32269.cpp:15:1: error: stray '\326' in program
0_0_26541034_32269.cpp:15:1: error: stray '\267' in program
0_0_26541034_32269.cpp:15:1: error: stray '\307' in program
0_0_26541034_32269.cpp:15:1: error: stray '\353' in program
0_0_26541034_32269.cpp:15:1: error: stray '\265' in program
0_0_26541034_32269.cpp:15:1: error: stray '\343' in program
0_0_26541034_32269.cpp:15:1: error: stray '\273' in program
0_0_26541034_32269.cpp:15:1: error: stray '\367' in program
0_0_26541034_32269.cpp:15:1: error: stray '\243' in program
0_0_26541034_32269.cpp:15:1: error: stray '\272' in program
0_0_26541034_32269.cpp:2:17: error: expected constructor, destructor, or type conversion before ';' token
 int cnt=0;                             //用来记录每一个进制存放的位置
                 ^
0_0_26541034_32269.cpp:2:24: error: expected constructor, destructor, or type conversion before ';' token
 int cnt=0;                             //用来记录每一个进制存放的位置
                        ^
0_0_26541034_32269.cpp:2:31: error: expected constructor, destructor, or type conversion before ';' token
 int cnt=0;                             //用来记录每一个进制存放的位置
                               ^
0_0_26541034_32269.cpp:2:38: error: expected constructor, destructor, or type conversion before ';' token
 int cnt=0;                             //用来记录每一个进制存放的位置
                                      ^
0_0_26541034_32269.cpp:2:45: error: expected constructor, destructor, or type conversion before ';' token
 int cnt=0;                             //用来记录每一个进制存放的位置
                                             ^
0_0_26541034_32269.cpp:2:52: error: expected constructor, destructor, or type conversion before ';' token
 int cnt=0;                             //用来记录每一个进制存放的位置
                                                    ^
0_0_26541034_32269.cpp:2:59: error: expected constructor, destructor, or type conversion before ';' token
 int cnt=0;                             //用来记录每一个进制存放的位置
                                                           ^
0_0_26541034_32269.cpp:2:66: error: expected constructor, destructor, or type conversion before ';' token
 int cnt=0;                             //用来记录每一个进制存放的位置
                                                                  ^
0_0_26541034_32269.cpp:2:73: error: expected constructor, destructor, or type conversion before ';' token
 int cnt=0;                             //用来记录每一个进制存放的位置
                                                                         ^
0_0_26541034_32269.cpp:2:80: error: expected constructor, destructor, or type conversion before ';' token
 int cnt=0;                             //用来记录每一个进制存放的位置
                                                                                ^
0_0_26541034_32269.cpp:2:87: error: expected constructor, destructor, or type conversion before ';' token
 int cnt=0;                             //用来记录每一个进制存放的位置
                                                                                       ^
0_0_26541034_32269.cpp:2:94: error: expected constructor, destructor, or type conversion before ';' token
 int cnt=0;                             //用来记录每一个进制存放的位置
                                                                                              ^
0_0_26541034_32269.cpp:2:101: error: expected constructor, destructor, or type conversion before ';' token
 int cnt=0;                             //用来记录每一个进制存放的位置
                                                                                                     ^
0_0_26541034_32269.cpp:2:108: error: expected constructor, destructor, or type conversion before ';' token
 int cnt=0;                             //用来记录每一个进制存放的位置
                                                                                                            ^
0_0_26541034_32269.cpp:3:20: error: expected constructor, destructor, or type conversion before ';' token
 char num[20];   //用来存放每一个进制的数   
                    ^
0_0_26541034_32269.cpp: In function 'void fun(int, int)':
0_0_26541034_32269.cpp:6:2: error: 'nbsp' was not declared in this scope
   //递归的终止条件return;fun(a/b,b); 
  ^
0_0_26541034_32269.cpp:7:2: error: 'nbsp' was not declared in this scope
                       //顺序递归num[cnt++] = a%b;                  //逆序递归
  ^
0_0_26541034_32269.cpp: At global scope:
0_0_26541034_32269.cpp:8:7: error: expected constructor, destructor, or type conversion before ';' token
 } 
       ^
0_0_26541034_32269.cpp: In function 'int main()':
0_0_26541034_32269.cpp:10:163: error: 'elseprintf' was not declared in this scope
 {int a,b;while(scanf("%d%d",&a,&b)!=EOF){if(a<0){a = -a;fun(a,b);printf("-");for(int i=0;i<cnt;i++){if(num[i]<10)printf("%d",num[i]);elseprintf("%c",num[i]+'A'-10);}}else{fun(a,b);for(int i=0;i<cnt;i++){if(num[i]<10)printf("%d",num[i]);elseprintf("%c",num[i]+'A'-10);}}printf("\n");cnt = 0;}
                                                                                                                                                                   ^
0_0_26541034_32269.cpp:10:266: error: 'elseprintf' was not declared in this scope
 {int a,b;while(scanf("%d%d",&a,&b)!=EOF){if(a<0){a = -a;fun(a,b);printf("-");for(int i=0;i<cnt;i++){if(num[i]<10)printf("%d",num[i]);elseprintf("%c",num[i]+'A'-10);}}else{fun(a,b);for(int i=0;i<cnt;i++){if(num[i]<10)printf("%d",num[i]);elseprintf("%c",num[i]+'A'-10);}}printf("\n");cnt = 0;}
                                                                                                                                                                                                                                                                          ^
0_0_26541034_32269.cpp: At global scope:
0_0_26541034_32269.cpp:13:1: error: expected unqualified-id before '--' token
 ---------------------
 ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-11-27 02:50:00, Gzip enabled