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_13574995_26115.cpp: In function 'int getnum(char)':
0_0_13574995_26115.cpp:12:14: error: unable to find character literal operator 'operator""c' with 'char' argument
         if(c='0'c='9')return c-'0';
              ^
0_0_13574995_26115.cpp: In function 'char getchar(int)':
0_0_13574995_26115.cpp:16:12: error: 't10' was not declared in this scope
         if(t10)return '0'+t;
            ^
0_0_13574995_26115.cpp: In function 'int main()':
0_0_13574995_26115.cpp:26:29: error: 'in' was not declared in this scope
                 for(int i=0;in;i++){
                             ^
0_0_13574995_26115.cpp:31:29: error: 'imxlen' was not declared in this scope
                 for(int i=0;imxlen;i++)ans[i]='0';
                             ^
0_0_13574995_26115.cpp:34:37: error: 'in' was not declared in this scope
                         for(int i=0;in;i++){
                                     ^
0_0_13574995_26115.cpp:41:38: error: unable to find character literal operator 'operator""indmxlen' with 'char' argument
                 for(ind =0;ans[ind]=='0'indmxlen-1;ind++){}
                                      ^


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-06-22 04:36:23, Gzip enabled