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_29337756_26921.cpp: In function 'int main()':
0_0_29337756_26921.cpp:16:26: error: 'strlen' was not declared in this scope
   reverse(o, o + strlen(o));
                          ^
0_0_29337756_26921.cpp:28:24: error: too few arguments to function 'errno_t _itoa_s(int, char*, size_t, int)'
   _itoa_s(sum, o, tbase);
                        ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/stdlib.h:667:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstdlib:72,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/string_conversions.h:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/basic_string.h:2850,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/string:52,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/locale_classes.h:40,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/ios_base.h:41,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:42,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ostream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:39,
                 from 0_0_29337756_26921.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/sec_api/stdlib_s.h:18:27: note: declared here
   _CRTIMP errno_t __cdecl _itoa_s(int _Value,char *_DstBuf,size_t _Size,int _Radix);
                           ^


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-07-03 14:37:37, Gzip enabled