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_19713471_1255.cpp:12:5: error: stray '\' in program
     mp[21]=\'K\';
     ^
0_0_19713471_1255.cpp:12:5: error: missing terminating ' character
0_0_19713471_1255.cpp:13:5: error: stray '\' in program
     mp[22]=\'X\';
     ^
0_0_19713471_1255.cpp:13:5: error: missing terminating ' character
0_0_19713471_1255.cpp:14:5: error: stray '\' in program
     mp[23]=\'V\';
     ^
0_0_19713471_1255.cpp:14:5: error: missing terminating ' character
0_0_19713471_1255.cpp:15:5: error: stray '\' in program
     mp[31]=\'M\';
     ^
0_0_19713471_1255.cpp:15:5: error: missing terminating ' character
0_0_19713471_1255.cpp:16:5: error: stray '\' in program
     mp[32]=\'C\';
     ^
0_0_19713471_1255.cpp:16:5: error: missing terminating ' character
0_0_19713471_1255.cpp:17:5: error: stray '\' in program
     mp[33]=\'N\';
     ^
0_0_19713471_1255.cpp:17:5: error: missing terminating ' character
0_0_19713471_1255.cpp:18:5: error: stray '\' in program
     mp[41]=\'O\';
     ^
0_0_19713471_1255.cpp:18:5: error: missing terminating ' character
0_0_19713471_1255.cpp:19:5: error: stray '\' in program
     mp[42]=\'P\';
     ^
0_0_19713471_1255.cpp:19:5: error: missing terminating ' character
0_0_19713471_1255.cpp:20:5: error: stray '\' in program
     mp[43]=\'H\';
     ^
0_0_19713471_1255.cpp:20:5: error: missing terminating ' character
0_0_19713471_1255.cpp:21:5: error: stray '\' in program
     mp[51]=\'Q\';
     ^
0_0_19713471_1255.cpp:21:5: error: missing terminating ' character
0_0_19713471_1255.cpp:22:5: error: stray '\' in program
     mp[52]=\'R\';
     ^
0_0_19713471_1255.cpp:22:5: error: missing terminating ' character
0_0_19713471_1255.cpp:23:5: error: stray '\' in program
     mp[53]=\'S\';
     ^
0_0_19713471_1255.cpp:23:5: error: missing terminating ' character
0_0_19713471_1255.cpp:24:5: error: stray '\' in program
     mp[61]=\'Z\';
     ^
0_0_19713471_1255.cpp:24:5: error: missing terminating ' character
0_0_19713471_1255.cpp:25:5: error: stray '\' in program
     mp[62]=\'Y\';
     ^
0_0_19713471_1255.cpp:25:5: error: missing terminating ' character
0_0_19713471_1255.cpp:26:5: error: stray '\' in program
     mp[63]=\'I\';
     ^
0_0_19713471_1255.cpp:26:5: error: missing terminating ' character
0_0_19713471_1255.cpp:27:5: error: stray '\' in program
     mp[71]=\'J\';
     ^
0_0_19713471_1255.cpp:27:5: error: missing terminating ' character
0_0_19713471_1255.cpp:28:5: error: stray '\' in program
     mp[72]=\'A\';
     ^
0_0_19713471_1255.cpp:28:5: error: missing terminating ' character
0_0_19713471_1255.cpp:29:5: error: stray '\' in program
     mp[73]=\'D\';
     ^
0_0_19713471_1255.cpp:29:5: error: missing terminating ' character
0_0_19713471_1255.cpp:30:5: error: stray '\' in program
     mp[74]=\'L\';
     ^
0_0_19713471_1255.cpp:30:5: error: missing terminating ' character
0_0_19713471_1255.cpp:31:5: error: stray '\' in program
     mp[81]=\'E\';
     ^
0_0_19713471_1255.cpp:31:5: error: missing terminating ' character
0_0_19713471_1255.cpp:32:5: error: stray '\' in program
     mp[82]=\'G\';
     ^
0_0_19713471_1255.cpp:32:5: error: missing terminating ' character
0_0_19713471_1255.cpp:33:5: error: stray '\' in program
     mp[83]=\'W\';
     ^
0_0_19713471_1255.cpp:33:5: error: missing terminating ' character
0_0_19713471_1255.cpp:34:5: error: stray '\' in program
     mp[91]=\'B\';
     ^
0_0_19713471_1255.cpp:34:5: error: missing terminating ' character
0_0_19713471_1255.cpp:35:5: error: stray '\' in program
     mp[92]=\'U\';
     ^
0_0_19713471_1255.cpp:35:5: error: missing terminating ' character
0_0_19713471_1255.cpp:36:5: error: stray '\' in program
     mp[93]=\'F\';
     ^
0_0_19713471_1255.cpp:36:5: error: missing terminating ' character
0_0_19713471_1255.cpp:37:5: error: stray '\' in program
     mp[94]=\'T\';
     ^
0_0_19713471_1255.cpp:37:5: error: missing terminating ' character
0_0_19713471_1255.cpp:38:5: error: stray '\' in program
     while(scanf(\"%s\",s)!=EOF) {
     ^
0_0_19713471_1255.cpp:38:5: error: missing terminating " character
0_0_19713471_1255.cpp:42:19: error: stray '\' in program
                   rec[cnt] = s[i] - \'0\';
                   ^
0_0_19713471_1255.cpp:42:19: error: missing terminating ' character
0_0_19713471_1255.cpp:43:19: error: stray '\' in program
                   rec[cnt] = rec[cnt] * 10 + s[i+1] - \'0\';
                   ^
0_0_19713471_1255.cpp:43:19: error: missing terminating ' character
0_0_19713471_1255.cpp:56:19: error: stray '\' in program
                   printf(\"%c\",mp[word[i]]);
                   ^
0_0_19713471_1255.cpp:56:19: error: missing terminating " character
0_0_19713471_1255.cpp:58:11: error: stray '\' in program
           puts(\"\");
           ^
0_0_19713471_1255.cpp:58:11: error: missing terminating " character
0_0_19713471_1255.cpp: In function 'int main()':
0_0_19713471_1255.cpp:38:5: error: expected primary-expression before 'while'
     while(scanf(\"%s\",s)!=EOF) {
     ^
0_0_19713471_1255.cpp:40:35: error: 'memset' was not declared in this scope
           memset(rec,0,sizeof(rec));
                                   ^
0_0_19713471_1255.cpp:41:30: error: 'len' was not declared in this scope
           for(int i = 0; i < len; i += 2,cnt++) {
                              ^
0_0_19713471_1255.cpp:41:42: error: 'cnt' was not declared in this scope
           for(int i = 0; i < len; i += 2,cnt++) {
                                          ^
0_0_19713471_1255.cpp:44:11: error: expected primary-expression before '}' token
           }
           ^
0_0_19713471_1255.cpp:45:22: error: 'cnt' was not declared in this scope
           int lim = (cnt-1)>>1;
                      ^
0_0_19713471_1255.cpp:46:64: error: 'k' was not declared in this scope
           for(int i = lim, j = cnt - 1, k = 0; i >= 0; --i,--j,k += 2) {
                                                                ^
0_0_19713471_1255.cpp:57:11: error: expected primary-expression before '}' token
           }
           ^
0_0_19713471_1255.cpp:59:5: error: expected primary-expression before '}' token
     }
     ^
0_0_19713471_1255.cpp: At global scope:
0_0_19713471_1255.cpp:60:5: error: expected unqualified-id before 'return'
     return 0;
     ^
0_0_19713471_1255.cpp:61: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-09-30 16:26:25, Gzip enabled