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

In file included from 0_0_15987114_58.cpp:1:0:
0_0_15987114_58.cpp: In function 'int main()':
0_0_15987114_58.cpp:6:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
     while(gets(s)!=EOF&&gets(t)!=EOF)
                    ^
0_0_15987114_58.cpp:6:34: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
     while(gets(s)!=EOF&&gets(t)!=EOF)
                                  ^
0_0_15987114_58.cpp:8:12: error: lvalue required as left operand of assignment
         'A'=10;'B'=11;'C'=12;'D'=13;'E'=14;'F'=15;
            ^
0_0_15987114_58.cpp:8:19: error: lvalue required as left operand of assignment
         'A'=10;'B'=11;'C'=12;'D'=13;'E'=14;'F'=15;
                   ^
0_0_15987114_58.cpp:8:26: error: lvalue required as left operand of assignment
         'A'=10;'B'=11;'C'=12;'D'=13;'E'=14;'F'=15;
                          ^
0_0_15987114_58.cpp:8:33: error: lvalue required as left operand of assignment
         'A'=10;'B'=11;'C'=12;'D'=13;'E'=14;'F'=15;
                                 ^
0_0_15987114_58.cpp:8:40: error: lvalue required as left operand of assignment
         'A'=10;'B'=11;'C'=12;'D'=13;'E'=14;'F'=15;
                                        ^
0_0_15987114_58.cpp:8:47: error: lvalue required as left operand of assignment
         'A'=10;'B'=11;'C'=12;'D'=13;'E'=14;'F'=15;
                                               ^
0_0_15987114_58.cpp:13:34: error: 'pow' was not declared in this scope
             x1+=s[i]*pow(16,a-1-1);
                                  ^
0_0_15987114_58.cpp:17:34: error: 'pow' was not declared in this scope
             x2+=t[i]*pow(16,a-1-i);
                                  ^
0_0_15987114_58.cpp:25:18: error: 'ss' was not declared in this scope
         c=strlen(ss);
                  ^


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 12:39:45, Gzip enabled