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_35896456_19737.cpp:1:1: error: stray '\265' in program
 递推过程:
 ^
0_0_35896456_19737.cpp:1:1: error: stray '\335' in program
0_0_35896456_19737.cpp:1:1: error: stray '\315' in program
0_0_35896456_19737.cpp:1:1: error: stray '\306' in program
0_0_35896456_19737.cpp:1:1: error: stray '\271' in program
0_0_35896456_19737.cpp:1:1: error: stray '\375' in program
0_0_35896456_19737.cpp:1:1: error: stray '\263' in program
0_0_35896456_19737.cpp:1:1: error: stray '\314' in program
0_0_35896456_19737.cpp:1:1: error: stray '\243' in program
0_0_35896456_19737.cpp:1:1: error: stray '\272' in program
0_0_35896456_19737.cpp:5:1: error: stray '\241' in program
 ……
 ^
0_0_35896456_19737.cpp:5:1: error: stray '\255' in program
0_0_35896456_19737.cpp:5:1: error: stray '\241' in program
0_0_35896456_19737.cpp:5:1: error: stray '\255' in program
0_0_35896456_19737.cpp:7:1: error: stray '\327' in program
 左右累加整理得a1+an=a0+a(n+1)-2*(c1+c2+...+cn)
 ^
0_0_35896456_19737.cpp:7:1: error: stray '\363' in program
0_0_35896456_19737.cpp:7:1: error: stray '\323' in program
0_0_35896456_19737.cpp:7:1: error: stray '\322' in program
0_0_35896456_19737.cpp:7:1: error: stray '\300' in program
0_0_35896456_19737.cpp:7:1: error: stray '\333' in program
0_0_35896456_19737.cpp:7:1: error: stray '\274' in program
0_0_35896456_19737.cpp:7:1: error: stray '\323' in program
0_0_35896456_19737.cpp:7:1: error: stray '\325' in program
0_0_35896456_19737.cpp:7:1: error: stray '\373' in program
0_0_35896456_19737.cpp:7:1: error: stray '\300' in program
0_0_35896456_19737.cpp:7:1: error: stray '\355' in program
0_0_35896456_19737.cpp:7:1: error: stray '\265' in program
0_0_35896456_19737.cpp:7:1: error: stray '\303' in program
0_0_35896456_19737.cpp:8:1: error: stray '\325' in program
 这里记c1+c2+...+cn=sum(n)
 ^
0_0_35896456_19737.cpp:8:1: error: stray '\342' in program
0_0_35896456_19737.cpp:8:1: error: stray '\300' in program
0_0_35896456_19737.cpp:8:1: error: stray '\357' in program
0_0_35896456_19737.cpp:8:1: error: stray '\274' in program
0_0_35896456_19737.cpp:8:1: error: stray '\307' in program
0_0_35896456_19737.cpp:9:1: error: stray '\324' in program
 再用上式来一遍累加
 ^
0_0_35896456_19737.cpp:9:1: error: stray '\331' in program
0_0_35896456_19737.cpp:9:1: error: stray '\323' in program
0_0_35896456_19737.cpp:9:1: error: stray '\303' in program
0_0_35896456_19737.cpp:9:1: error: stray '\311' in program
0_0_35896456_19737.cpp:9:1: error: stray '\317' in program
0_0_35896456_19737.cpp:9:1: error: stray '\312' in program
0_0_35896456_19737.cpp:9:1: error: stray '\275' in program
0_0_35896456_19737.cpp:9:1: error: stray '\300' in program
0_0_35896456_19737.cpp:9:1: error: stray '\264' in program
0_0_35896456_19737.cpp:9:1: error: stray '\322' in program
0_0_35896456_19737.cpp:9:1: error: stray '\273' in program
0_0_35896456_19737.cpp:9:1: error: stray '\261' in program
0_0_35896456_19737.cpp:9:1: error: stray '\351' in program
0_0_35896456_19737.cpp:9:1: error: stray '\300' in program
0_0_35896456_19737.cpp:9:1: error: stray '\333' in program
0_0_35896456_19737.cpp:9:1: error: stray '\274' in program
0_0_35896456_19737.cpp:9:1: error: stray '\323' in program
0_0_35896456_19737.cpp:13:1: error: stray '\241' in program
 ……
 ^
0_0_35896456_19737.cpp:13:1: error: stray '\255' in program
0_0_35896456_19737.cpp:13:1: error: stray '\241' in program
0_0_35896456_19737.cpp:13:1: error: stray '\255' in program
0_0_35896456_19737.cpp:16:1: error: stray '\325' in program
 (这里不妨加上n=1时的式子)
 ^
0_0_35896456_19737.cpp:16:1: error: stray '\342' in program
0_0_35896456_19737.cpp:16:1: error: stray '\300' in program
0_0_35896456_19737.cpp:16:1: error: stray '\357' in program
0_0_35896456_19737.cpp:16:1: error: stray '\262' in program
0_0_35896456_19737.cpp:16:1: error: stray '\273' in program
0_0_35896456_19737.cpp:16:1: error: stray '\267' in program
0_0_35896456_19737.cpp:16:1: error: stray '\301' in program
0_0_35896456_19737.cpp:16:1: error: stray '\274' in program
0_0_35896456_19737.cpp:16:1: error: stray '\323' in program
0_0_35896456_19737.cpp:16:1: error: stray '\311' in program
0_0_35896456_19737.cpp:16:1: error: stray '\317' in program
0_0_35896456_19737.cpp:16:1: error: stray '\312' in program
0_0_35896456_19737.cpp:16:1: error: stray '\261' in program
0_0_35896456_19737.cpp:16:1: error: stray '\265' in program
0_0_35896456_19737.cpp:16:1: error: stray '\304' in program
0_0_35896456_19737.cpp:16:1: error: stray '\312' in program
0_0_35896456_19737.cpp:16:1: error: stray '\275' in program
0_0_35896456_19737.cpp:16:1: error: stray '\327' in program
0_0_35896456_19737.cpp:16:1: error: stray '\323' in program
0_0_35896456_19737.cpp:16:1: error: stray '\243' in program
0_0_35896456_19737.cpp:16:1: error: stray '\251' in program
0_0_35896456_19737.cpp:17:1: error: stray '\300' in program
 累加得
 ^
0_0_35896456_19737.cpp:17:1: error: stray '\333' in program
0_0_35896456_19737.cpp:17:1: error: stray '\274' in program
0_0_35896456_19737.cpp:17:1: error: stray '\323' in program
0_0_35896456_19737.cpp:17:1: error: stray '\265' in program
0_0_35896456_19737.cpp:17:1: error: stray '\303' in program
0_0_35896456_19737.cpp:19:1: error: stray '\325' in program
 整理得
 ^
0_0_35896456_19737.cpp:19:1: error: stray '\373' in program
0_0_35896456_19737.cpp:19:1: error: stray '\300' in program
0_0_35896456_19737.cpp:19:1: error: stray '\355' in program
0_0_35896456_19737.cpp:19:1: error: stray '\265' in program
0_0_35896456_19737.cpp:19:1: error: stray '\303' in program
0_0_35896456_19737.cpp:22:1: error: stray '\322' in program
 以下给出c++AC代码:
 ^
0_0_35896456_19737.cpp:22:1: error: stray '\324' in program
0_0_35896456_19737.cpp:22:1: error: stray '\317' in program
0_0_35896456_19737.cpp:22:1: error: stray '\302' in program
0_0_35896456_19737.cpp:22:1: error: stray '\270' in program
0_0_35896456_19737.cpp:22:1: error: stray '\370' in program
0_0_35896456_19737.cpp:22:1: error: stray '\263' in program
0_0_35896456_19737.cpp:22:1: error: stray '\366' in program
0_0_35896456_19737.cpp:22:1: error: stray '\264' in program
0_0_35896456_19737.cpp:22:1: error: stray '\372' in program
0_0_35896456_19737.cpp:22:1: error: stray '\302' in program
0_0_35896456_19737.cpp:22:1: error: stray '\353' in program
0_0_35896456_19737.cpp:22:1: error: stray '\243' in program
0_0_35896456_19737.cpp:22:1: error: stray '\272' in program
0_0_35896456_19737.cpp:2:1: error: 'a1' does not name a type
 a1=(a0+a2)/2-c1
 ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/exception:162:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:39,
                 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_35896456_19737.cpp:23:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/exception_ptr.h:95:30: error: field 'nullptr_t' has incomplete type 'std::__exception_ptr::exception_ptr'
       exception_ptr(nullptr_t) noexcept
                              ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/exception_ptr.h:95:30: error: expected ';' at end of member declaration
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/exception_ptr.h:95:32: error: expected unqualified-id before 'noexcept'
       exception_ptr(nullptr_t) noexcept
                                ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:62:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ios:40,
                 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_35896456_19737.cpp:23:
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/type_traits.h:160:35: error: '__gnu_cxx::__is_null_pointer' declared as an 'inline' variable
   __is_null_pointer(std::nullptr_t)
                                   ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/type_traits.h:160:35: error: 'bool __gnu_cxx::__is_null_pointer' redeclared as different kind of symbol
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/type_traits.h:155:5: note: previous declaration 'template<class _Type> bool __gnu_cxx::__is_null_pointer(_Type)'
     __is_null_pointer(_Type)
     ^
GCC4.9.2/x86_64-w64-mingw32/include/c++/ext/type_traits.h:160:21: error: 'nullptr_t' is not a member of 'std'
   __is_null_pointer(std::nullptr_t)
                     ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/move.h:57:0,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_pair.h:59,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:64,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/char_traits.h:39,
                 from D:/


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-12-03 00:37:46, Gzip enabled