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_31798597_8227.cpp:127:7: error: stray '@' in program
 chielo@DESKTOP-MAHTPET:/mnt/c/Chielo/practice/2014ec$ cat > aa.in
       ^
0_0_31798597_8227.cpp:127:47: error: exponent has no digits
 chielo@DESKTOP-MAHTPET:/mnt/c/Chielo/practice/2014ec$ cat > aa.in
                                               ^
0_0_31798597_8227.cpp:137:7: error: stray '@' in program
 chielo@DESKTOP-MAHTPET:/mnt/c/Chielo/practice/2014ec$ ./aa < aa.in
       ^
0_0_31798597_8227.cpp:137:47: error: exponent has no digits
 chielo@DESKTOP-MAHTPET:/mnt/c/Chielo/practice/2014ec$ ./aa < aa.in
                                               ^
0_0_31798597_8227.cpp:138:6: error: stray '#' in program
 Case #1:
      ^
0_0_31798597_8227.cpp:145:7: error: stray '@' in program
 chielo@DESKTOP-MAHTPET:/mnt/c/Chielo/practice/2014ec$ vi aa.in
       ^
0_0_31798597_8227.cpp:145:47: error: exponent has no digits
 chielo@DESKTOP-MAHTPET:/mnt/c/Chielo/practice/2014ec$ vi aa.in
                                               ^
0_0_31798597_8227.cpp:148:7: error: stray '@' in program
 chielo@DESKTOP-MAHTPET:/mnt/c/Chielo/practice/2014ec$ ./aa < aa.in
       ^
0_0_31798597_8227.cpp:148:47: error: exponent has no digits
 chielo@DESKTOP-MAHTPET:/mnt/c/Chielo/practice/2014ec$ ./aa < aa.in
                                               ^
0_0_31798597_8227.cpp:149:6: error: stray '#' in program
 Case #1:
      ^
0_0_31798597_8227.cpp:156:6: error: stray '#' in program
 Case #2:
      ^
0_0_31798597_8227.cpp:163:7: error: stray '@' in program
 chielo@DESKTOP-MAHTPET:/mnt/c/Chielo/practice/2014ec$ cat aa.cpp
       ^
0_0_31798597_8227.cpp:163:47: error: exponent has no digits
 chielo@DESKTOP-MAHTPET:/mnt/c/Chielo/practice/2014ec$ cat aa.cpp
                                               ^
0_0_31798597_8227.cpp: In function 'void solve()':
0_0_31798597_8227.cpp:106:18: error: expected unqualified-id before '[' token
             auto [k1, k2] = queryR(u, v);
                  ^
0_0_31798597_8227.cpp:107:31: error: 'k1' was not declared in this scope
             printf("%d %d\n", k1 + 1, k2 + 1);
                               ^
0_0_31798597_8227.cpp:107:39: error: 'k2' was not declared in this scope
             printf("%d %d\n", k1 + 1, k2 + 1);
                                       ^
0_0_31798597_8227.cpp:109:18: error: expected unqualified-id before '[' token
             auto [l, r] = queryS(u - 1, v - 1);
                  ^
0_0_31798597_8227.cpp:110:16: error: 'l' was not declared in this scope
             if(l != -1)
                ^
0_0_31798597_8227.cpp:111:38: error: 'r' was not declared in this scope
                 printf("%d %d\n", l, r);
                                      ^
0_0_31798597_8227.cpp: At global scope:
0_0_31798597_8227.cpp:127:1: error: 'chielo' does not name a type
 chielo@DESKTOP-MAHTPET:/mnt/c/Chielo/practice/2014ec$ cat > aa.in
 ^
0_0_31798597_8227.cpp:168:5: error: redefinition of 'int n'
 int n, q, a[maxn], mxa;
     ^
0_0_31798597_8227.cpp:5:5: note: 'int n' previously declared here
 int n, q, a[maxn], mxa;
     ^
0_0_31798597_8227.cpp:168:8: error: redefinition of 'int q'
 int n, q, a[maxn], mxa;
        ^
0_0_31798597_8227.cpp:5:8: note: 'int q' previously declared here
 int n, q, a[maxn], mxa;
        ^
0_0_31798597_8227.cpp:168:17: error: redefinition of 'int a [200003]'
 int n, q, a[maxn], mxa;
                 ^
0_0_31798597_8227.cpp:5:11: note: 'int a [200003]' previously declared here
 int n, q, a[maxn], mxa;
           ^
0_0_31798597_8227.cpp:168:20: error: redefinition of 'int mxa'
 int n, q, a[maxn], mxa;
                    ^
0_0_31798597_8227.cpp:5:20: note: 'int mxa' previously declared here
 int n, q, a[maxn], mxa;
                    ^
0_0_31798597_8227.cpp:170:8: error: redefinition of 'struct rg'
 struct rg {
        ^
0_0_31798597_8227.cpp:7:8: error: previous definition of 'struct rg'
 struct rg {
        ^
0_0_31798597_8227.cpp:175:39: error: expected unqualified-id at end of input
     bool operator<(const rg &k) const {
                                       ^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:71: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++/istream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/sstream:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/complex:45,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/ccomplex:38,
                 from GCC4.9.2/x86_64-w64-mingw32/include/c++/x86_64-w64-mingw32/bits/stdc++.h:52,
                 from 0_0_31798597_8227.cpp:1:
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h: In instantiation of 'bool __gnu_cxx::__ops::_Iter_comp_val<_Compare>::operator()(_Iterator, _Value&) [with _Iterator = __gnu_cxx::__normal_iterator<rg*, std::vector<rg> >; _Value = const int; _Compare = queryR(int, int)::<lambda(auto:1&&, auto:2&&)>]':
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algobase.h:965:30:   required from '_ForwardIterator std::__lower_bound(_ForwardIterator, _ForwardIterator, const _Tp&, _Compare) [with _ForwardIterator = __gnu_cxx::__normal_iterator<rg*, std::vector<rg> >; _Tp = int; _Compare = __gnu_cxx::__ops::_Iter_comp_val<queryR(int, int)::<lambda(auto:1&&, auto:2&&)> >]'
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/stl_algo.h:2036:46:   required from '_FIter std::lower_bound(_FIter, _FIter, const _Tp&, _Compare) [with _FIter = __gnu_cxx::__normal_iterator<rg*, std::vector<rg> >; _Tp = int; _Compare = queryR(int, int)::<lambda(auto:1&&, auto:2&&)>]'
0_0_31798597_8227.cpp:86:6:   required from here
GCC4.9.2/x86_64-w64-mingw32/include/c++/bits/predefined_ops.h:141:37: error: invalid use of 'auto'
  { return bool(_M_comp(*__it, __val)); }
                                     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001001(s) query 1, Server time : 2025-01-10 03:05:24, Gzip enabled