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