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_20989757_13848.cpp:57:34: error: stray '#' in program
     for (int i = 0; i < l / 2; i++) swap(s[i], s[l - i - 1]);
                                  ^
0_0_20989757_13848.cpp:57:39: error: stray '#' in program
     for (int i = 0; i < l / 2; i++) swap(s[i], s[l - i - 1]);
                                       ^
0_0_20989757_13848.cpp:59:40: error: stray '#' in program
     int k = 0; while (s[k] == '0') s[k++] = '9';
                                        ^
0_0_20989757_13848.cpp:59:45: error: stray '#' in program
     int k = 0; while (s[k] == '0') s[k++] = '9';
                                             ^
0_0_20989757_13848.cpp:62:30: error: stray '#' in program
     for (int i = 0; i < n; i++) {
                              ^
0_0_20989757_13848.cpp:62:35: error: stray '#' in program
     for (int i = 0; i < n; i++) {
                                   ^
0_0_20989757_13848.cpp:63:34: error: stray '#' in program
         if ((s[0] - '0') & 1) x += '1'; else x += '0';
                                  ^
0_0_20989757_13848.cpp:63:53: error: stray '#' in program
         if ((s[0] - '0') & 1) x += '1'; else x += '0';
                                                     ^
0_0_20989757_13848.cpp:66:35: error: stray '#' in program
             int val = s[i] - '0' + jw * 10;
                                   ^
0_0_20989757_13848.cpp:68:32: error: stray '#' in program
             s[i] = (val >> 1) + '0';
                                ^
0_0_20989757_13848.cpp:75:37: error: stray '#' in program
     for (int cas = 1; cas <= T; cas++) {
                                     ^
0_0_20989757_13848.cpp:75:42: error: stray '#' in program
     for (int cas = 1; cas <= T; cas++) {
                                          ^
0_0_20989757_13848.cpp:83:34: error: stray '#' in program
         for (int t = 0; t < n; t++) {
                                  ^
0_0_20989757_13848.cpp:83:39: error: stray '#' in program
         for (int t = 0; t < n; t++) {
                                       ^
0_0_20989757_13848.cpp:85:38: error: stray '#' in program
             for (int i = 0; i < n; i++) {
                                      ^
0_0_20989757_13848.cpp:85:43: error: stray '#' in program
             for (int i = 0; i < n; i++) {
                                           ^
0_0_20989757_13848.cpp:86:28: error: stray '#' in program
                 int k = i + t;
                            ^
0_0_20989757_13848.cpp: In function 'void getIn(std::string&)':
0_0_20989757_13848.cpp:57:37: error: expected ')' before ';' token
     for (int i = 0; i < l / 2; i++) swap(s[i], s[l - i - 1]);
                                     ^
0_0_20989757_13848.cpp:57:40: error: lvalue required as unary '&' operand
     for (int i = 0; i < l / 2; i++) swap(s[i], s[l - i - 1]);
                                        ^
0_0_20989757_13848.cpp:57:43: error: expected primary-expression before ')' token
     for (int i = 0; i < l / 2; i++) swap(s[i], s[l - i - 1]);
                                           ^
0_0_20989757_13848.cpp:59:43: error: expected ']' before ';' token
     int k = 0; while (s[k] == '0') s[k++] = '9';
                                           ^
0_0_20989757_13848.cpp:59:46: error: lvalue required as unary '&' operand
     int k = 0; while (s[k] == '0') s[k++] = '9';
                                              ^
0_0_20989757_13848.cpp:59:49: error: expected primary-expression before ']' token
     int k = 0; while (s[k] == '0') s[k++] = '9';
                                                 ^
0_0_20989757_13848.cpp:62:33: error: expected ')' before ';' token
     for (int i = 0; i < n; i++) {
                                 ^
0_0_20989757_13848.cpp:62:36: error: lvalue required as unary '&' operand
     for (int i = 0; i < n; i++) {
                                    ^
0_0_20989757_13848.cpp:62:39: error: expected primary-expression before ')' token
     for (int i = 0; i < n; i++) {
                                       ^
0_0_20989757_13848.cpp: In function 'int main()':
0_0_20989757_13848.cpp:75:40: error: expected ')' before ';' token
     for (int cas = 1; cas <= T; cas++) {
                                        ^
0_0_20989757_13848.cpp:75:43: error: lvalue required as unary '&' operand
     for (int cas = 1; cas <= T; cas++) {
                                           ^
0_0_20989757_13848.cpp:75:46: error: expected primary-expression before ')' token
     for (int cas = 1; cas <= T; cas++) {
                                              ^


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-17 02:22:24, Gzip enabled