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_19234818_29556.cpp: In function 'int main()':
0_0_19234818_29556.cpp:22:51: error: 'j' was not declared in this scope
                         if((c + k)%2 == 0 && (c - j)>=0){
                                                   ^
0_0_19234818_29556.cpp:57:33: error: invalid conversion from 'int' to 'char*' [-fpermissive]
         if(xx > yy) swab(xx , yy);
                                 ^
0_0_19234818_29556.cpp:57:33: error: invalid conversion from 'int' to 'char*' [-fpermissive]
0_0_19234818_29556.cpp:57:33: error: too few arguments to function 'void swab(char*, char*, int)'
In file included from GCC4.9.2/x86_64-w64-mingw32/include/assert.h:17:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cassert:43,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:33,
                 from 0_0_19234818_29556.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/stdlib.h:616:16: note: declared here
   void __cdecl swab(char *_Buf1,char *_Buf2,int _SizeInBytes) __MINGW_ATTRIB_DEPRECATED_MSVC2005;
                ^


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-29 21:42:00, Gzip enabled