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_33954205_18863.cpp:11:10: error: stray '\342' in program
          for(int i = 0; s[i] != ‘\0‘; ++i){
          ^
0_0_33954205_18863.cpp:11:10: error: stray '\200' in program
0_0_33954205_18863.cpp:11:10: error: stray '\230' in program
0_0_33954205_18863.cpp:11:10: error: stray '\' in program
0_0_33954205_18863.cpp:11:10: error: stray '\342' in program
0_0_33954205_18863.cpp:11:10: error: stray '\200' in program
0_0_33954205_18863.cpp:11:10: error: stray '\230' in program
0_0_33954205_18863.cpp:16:14: error: stray '\342' in program
              if(s[i] == ‘"‘){
              ^
0_0_33954205_18863.cpp:16:14: error: stray '\200' in program
0_0_33954205_18863.cpp:16:14: error: stray '\230' in program
0_0_33954205_18863.cpp:16:14: error: missing terminating " character
0_0_33954205_18863.cpp:23:14: error: stray '\342' in program
              else if(s[i] == ‘,‘) printf(",");
              ^
0_0_33954205_18863.cpp:23:14: error: stray '\200' in program
0_0_33954205_18863.cpp:23:14: error: stray '\230' in program
0_0_33954205_18863.cpp:23:14: error: stray '\342' in program
0_0_33954205_18863.cpp:23:14: error: stray '\200' in program
0_0_33954205_18863.cpp:23:14: error: stray '\230' in program
0_0_33954205_18863.cpp:24:14: error: stray '\342' in program
              else if(s[i] == ‘.‘) printf("。");
              ^
0_0_33954205_18863.cpp:24:14: error: stray '\200' in program
0_0_33954205_18863.cpp:24:14: error: stray '\230' in program
0_0_33954205_18863.cpp:24:14: error: stray '\342' in program
0_0_33954205_18863.cpp:24:14: error: stray '\200' in program
0_0_33954205_18863.cpp:24:14: error: stray '\230' in program
0_0_33954205_18863.cpp:25:14: error: stray '\342' in program
              else if(s[i] == ‘!‘) printf("!");
              ^
0_0_33954205_18863.cpp:25:14: error: stray '\200' in program
0_0_33954205_18863.cpp:25:14: error: stray '\230' in program
0_0_33954205_18863.cpp:25:14: error: stray '\342' in program
0_0_33954205_18863.cpp:25:14: error: stray '\200' in program
0_0_33954205_18863.cpp:25:14: error: stray '\230' in program
0_0_33954205_18863.cpp:26:14: error: stray '\342' in program
              else if(s[i] == ‘?‘) printf("?");
              ^
0_0_33954205_18863.cpp:26:14: error: stray '\200' in program
0_0_33954205_18863.cpp:26:14: error: stray '\230' in program
0_0_33954205_18863.cpp:26:14: error: stray '\342' in program
0_0_33954205_18863.cpp:26:14: error: stray '\200' in program
0_0_33954205_18863.cpp:26:14: error: stray '\230' in program
0_0_33954205_18863.cpp:27:14: error: stray '\342' in program
              else if(s[i] == ‘<‘ && s[i+1] == ‘<‘){
              ^
0_0_33954205_18863.cpp:27:14: error: stray '\200' in program
0_0_33954205_18863.cpp:27:14: error: stray '\230' in program
0_0_33954205_18863.cpp:27:14: error: stray '\342' in program
0_0_33954205_18863.cpp:27:14: error: stray '\200' in program
0_0_33954205_18863.cpp:27:14: error: stray '\230' in program
0_0_33954205_18863.cpp:27:14: error: stray '\342' in program
0_0_33954205_18863.cpp:27:14: error: stray '\200' in program
0_0_33954205_18863.cpp:27:14: error: stray '\230' in program
0_0_33954205_18863.cpp:27:14: error: stray '\342' in program
0_0_33954205_18863.cpp:27:14: error: stray '\200' in program
0_0_33954205_18863.cpp:27:14: error: stray '\230' in program
0_0_33954205_18863.cpp:31:14: error: stray '\342' in program
              else if(s[i] == ‘>‘ && s[i+1] == ‘>‘){
              ^
0_0_33954205_18863.cpp:31:14: error: stray '\200' in program
0_0_33954205_18863.cpp:31:14: error: stray '\230' in program
0_0_33954205_18863.cpp:31:14: error: stray '\342' in program
0_0_33954205_18863.cpp:31:14: error: stray '\200' in program
0_0_33954205_18863.cpp:31:14: error: stray '\230' in program
0_0_33954205_18863.cpp:31:14: error: stray '\342' in program
0_0_33954205_18863.cpp:31:14: error: stray '\200' in program
0_0_33954205_18863.cpp:31:14: error: stray '\230' in program
0_0_33954205_18863.cpp:31:14: error: stray '\342' in program
0_0_33954205_18863.cpp:31:14: error: stray '\200' in program
0_0_33954205_18863.cpp:31:14: error: stray '\230' in program
0_0_33954205_18863.cpp: In function 'int main()':
0_0_33954205_18863.cpp:17:18: error: expected primary-expression before 'if'
                  if(sum%2 == 0)
                  ^
0_0_33954205_18863.cpp:17:18: error: expected ')' before 'if'
0_0_33954205_18863.cpp:23:14: error: 'else' without a previous 'if'
              else if(s[i] == ‘,‘) printf(",");
              ^
0_0_33954205_18863.cpp:23:24: error: 'i' was not declared in this scope
              else if(s[i] == ‘,‘) printf(",");
                        ^
0_0_33954205_18863.cpp:23:33: error: expected primary-expression before ',' token
              else if(s[i] == ‘,‘) printf(",");
                                 ^
0_0_33954205_18863.cpp:23:37: error: expected primary-expression before ')' token
              else if(s[i] == ‘,‘) printf(",");
                                     ^
0_0_33954205_18863.cpp:24:33: error: expected primary-expression before '.' token
              else if(s[i] == ‘.‘) printf("。");
                                 ^
0_0_33954205_18863.cpp:24:37: error: expected unqualified-id before ')' token
              else if(s[i] == ‘.‘) printf("。");
                                     ^
0_0_33954205_18863.cpp:25:37: error: expected primary-expression before ')' token
              else if(s[i] == ‘!‘) printf("!");
                                     ^
0_0_33954205_18863.cpp:26:33: error: expected primary-expression before '?' token
              else if(s[i] == ‘?‘) printf("?");
                                 ^
0_0_33954205_18863.cpp:26:37: error: expected primary-expression before ')' token
              else if(s[i] == ‘?‘) printf("?");
                                     ^
0_0_33954205_18863.cpp:26:37: error: expected ':' before ')' token
0_0_33954205_18863.cpp:26:37: error: expected primary-expression before ')' token
0_0_33954205_18863.cpp:27:33: error: expected primary-expression before '<' token
              else if(s[i] == ‘<‘ && s[i+1] == ‘<‘){
                                 ^
0_0_33954205_18863.cpp:27:42: error: expected ')' before '[' token
              else if(s[i] == ‘<‘ && s[i+1] == ‘<‘){
                                          ^
0_0_33954205_18863.cpp:31:33: error: expected primary-expression before '>' token
              else if(s[i] == ‘>‘ && s[i+1] == ‘>‘){
                                 ^
0_0_33954205_18863.cpp:31:42: error: expected ')' before '[' token
              else if(s[i] == ‘>‘ && s[i+1] == ‘>‘){
                                          ^
0_0_33954205_18863.cpp:27:41: error: label 's' used but not defined
              else if(s[i] == ‘<‘ && s[i+1] == ‘<‘){
                                         ^
0_0_33954205_18863.cpp: At global scope:
0_0_33954205_18863.cpp:40:6: error: expected unqualified-id before 'return'
      return 0;
      ^
0_0_33954205_18863.cpp:41:2: error: expected declaration 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-12-02 15:47:06, Gzip enabled