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_33290842_28718.cpp:43:9: error: stray '\250' in program
         while(t¨C)
         ^
0_0_33290842_28718.cpp:47:13: error: stray '\250' in program
             while(n¨C)
             ^
0_0_33290842_28718.cpp:55:17: error: stray '\241' in program
                 cout << ¡°L¡±;
                 ^
0_0_33290842_28718.cpp:55:17: error: stray '\260' in program
0_0_33290842_28718.cpp:55:17: error: stray '\241' in program
0_0_33290842_28718.cpp:55:17: error: stray '\261' in program
0_0_33290842_28718.cpp:57:17: error: stray '\241' in program
                 cout << ¡°W¡±;
                 ^
0_0_33290842_28718.cpp:57:17: error: stray '\260' in program
0_0_33290842_28718.cpp:57:17: error: stray '\241' in program
0_0_33290842_28718.cpp:57:17: error: stray '\261' in program
0_0_33290842_28718.cpp: In function 'int mex(int)':
0_0_33290842_28718.cpp:9:17: error: invalid operands of types 'int' and 'int [101]' to binary 'operator-'
         if(sg[b-f]<0)
                 ^
0_0_33290842_28718.cpp:11:17: error: invalid operands of types 'int' and 'int [101]' to binary 'operator-'
         if(sg[b-f]==-1)
                 ^
0_0_33290842_28718.cpp:13:18: error: invalid operands of types 'int' and 'int [101]' to binary 'operator-'
             sg[b-f]=mex(b-f);
                  ^
0_0_33290842_28718.cpp:13:27: error: invalid operands of types 'int' and 'int [101]' to binary 'operator-'
             sg[b-f]=mex(b-f);
                           ^
0_0_33290842_28718.cpp:15:16: error: invalid operands of types 'int' and 'int [101]' to binary 'operator-'
         a[sg[b-f]]=1;
                ^
0_0_33290842_28718.cpp: In function 'int main()':
0_0_33290842_28718.cpp:30:20: error: cannot bind 'std::istream {aka std::basic_istream<char>}' lvalue to 'std::basic_istream<char>&&'
             cin >> f;
                    ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/iostream:40:0,
                 from 0_0_33290842_28718.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/istream:872:5: note: initializing argument 1 of 'std::basic_istream<_CharT, _Traits>& std::operator>>(std::basic_istream<_CharT, _Traits>&&, _Tp&) [with _CharT = char; _Traits = std::char_traits<char>; _Tp = int [101]]'
     operator>>(basic_istream<_CharT, _Traits>&& __is, _Tp& __x)
     ^
0_0_33290842_28718.cpp:32:32: error: 'memset' was not declared in this scope
         memset(sg,-1,sizeof(sg));
                                ^
0_0_33290842_28718.cpp:35:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
                 if(f>f[j])
                         ^
0_0_33290842_28718.cpp:37:22: error: incompatible types in assignment of 'int' to 'int [101]'
                     f+=f[j];
                      ^
0_0_33290842_28718.cpp:38:27: error: invalid conversion from 'int*' to 'int' [-fpermissive]
                     f[j]=f-f[j];
                           ^
0_0_33290842_28718.cpp:39:22: error: incompatible types in assignment of 'int' to 'int [101]'
                     f-=f[j];
                      ^
0_0_33290842_28718.cpp:43:17: error: expected ')' before 'C'
         while(t¨C)
                 ^
0_0_33290842_28718.cpp:43:17: error: 'C' was not declared in this scope


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-10-07 04:38:54, Gzip enabled