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_25804774_8603.cpp:2:94: error: stray '#' in program
 <strong><span style="font-family:KaiTi_GB2312;font-size:18px;"><span style="font-size:24px;">#include<iostream>
                                                                                              ^
0_0_25804774_8603.cpp:2:1: error: expected unqualified-id before '<' token
 <strong><span style="font-family:KaiTi_GB2312;font-size:18px;"><span style="font-size:24px;">#include<iostream>
 ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cmath:43:0,
                 from 0_0_25804774_8603.cpp:4:
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)
                     ^
0_0_25804774_8603.cpp: In function 'int main()':
0_0_25804774_8603.cpp:18:29: error: 'scanf' was not declared in this scope
  while(~scanf("%ld%ld",&a,&b))
                             ^
0_0_25804774_8603.cpp:44:18: error: 'printf' was not declared in this scope
   printf("%d\n",i);  
                  ^
0_0_25804774_8603.cpp: At global scope:
0_0_25804774_8603.cpp:50:2: error: expected unqualified-id before '<' token
 }</span></span></strong>
  ^


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-09-29 05:01:36, Gzip enabled