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_21595082_29599.cpp:16:12: error: stray '#' in program
   m=(c[0]-'0')*10+c[1]-'0';
            ^
0_0_21595082_29599.cpp:16:18: error: stray '#' in program
   m=(c[0]-'0')*10+c[1]-'0';
                  ^
0_0_21595082_29599.cpp:16:33: error: stray '#' in program
   m=(c[0]-'0')*10+c[1]-'0';
                                 ^
0_0_21595082_29599.cpp:16:39: error: stray '#' in program
   m=(c[0]-'0')*10+c[1]-'0';
                                       ^
0_0_21595082_29599.cpp:23:13: error: stray '#' in program
   month[2]='\0';
             ^
0_0_21595082_29599.cpp:23:3: error: stray '\' in program
   month[2]='\0';
   ^
0_0_21595082_29599.cpp:23:20: error: stray '#' in program
   month[2]='\0';
                    ^
0_0_21595082_29599.cpp:26:11: error: stray '#' in program
   day[2]='\0';
           ^
0_0_21595082_29599.cpp:26:3: error: stray '\' in program
   day[2]='\0';
   ^
0_0_21595082_29599.cpp:26:18: error: stray '#' in program
   day[2]='\0';
                  ^
0_0_21595082_29599.cpp:30:12: error: stray '#' in program
   year[i]='\0';
            ^
0_0_21595082_29599.cpp:30:3: error: stray '\' in program
   year[i]='\0';
   ^
0_0_21595082_29599.cpp:30:19: error: stray '#' in program
   year[i]='\0';
                   ^
0_0_21595082_29599.cpp: In function 'int main()':
0_0_21595082_29599.cpp:16:13: error: lvalue required as unary '&' operand
   m=(c[0]-'0')*10+c[1]-'0';
             ^
0_0_21595082_29599.cpp:16:15: error: expected ')' before ';' token
   m=(c[0]-'0')*10+c[1]-'0';
               ^
0_0_21595082_29599.cpp:16:22: error: expected primary-expression before ')' token
   m=(c[0]-'0')*10+c[1]-'0';
                      ^
0_0_21595082_29599.cpp:23:14: error: lvalue required as unary '&' operand
   month[2]='\0';
              ^
0_0_21595082_29599.cpp:26:12: error: lvalue required as unary '&' operand
   day[2]='\0';
            ^
0_0_21595082_29599.cpp:30:13: error: lvalue required as unary '&' operand
   year[i]='\0';
             ^


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-26 23:07:03, Gzip enabled