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_22587655_10993.cpp:5:12: error: '_int64' does not name a type
 #define ll _int64
            ^
0_0_22587655_10993.cpp:7:1: note: in expansion of macro 'll'
 ll a[100005]; 
 ^
0_0_22587655_10993.cpp: In function 'int mian()':
0_0_22587655_10993.cpp:5:12: error: '_int64' was not declared in this scope
 #define ll _int64
            ^
0_0_22587655_10993.cpp:16:3: note: in expansion of macro 'll'
   ll k, sum = 0;
   ^
0_0_22587655_10993.cpp:17:15: error: 'k' was not declared in this scope
   cin >> n >> k;
               ^
0_0_22587655_10993.cpp:5:12: error: the value of '_int64' is not usable in a constant expression
 #define ll _int64
            ^
0_0_22587655_10993.cpp:18:9: note: in expansion of macro 'll'
   deque<ll> s;
         ^
0_0_22587655_10993.cpp:5:12: note: '_int64' was not declared 'constexpr'
 #define ll _int64
            ^
0_0_22587655_10993.cpp:16:3: note: in expansion of macro 'll'
   ll k, sum = 0;
   ^
0_0_22587655_10993.cpp:18:11: error: type/value mismatch at argument 1 in template parameter list for 'template<class _Tp, class _Alloc> class std::deque'
   deque<ll> s;
           ^
0_0_22587655_10993.cpp:18:11: error:   expected a type, got '_int64'
0_0_22587655_10993.cpp:18:11: error: template argument 2 is invalid
0_0_22587655_10993.cpp:18:14: error: invalid type in declaration before ';' token
   deque<ll> s;
              ^
0_0_22587655_10993.cpp:21:11: error: 'a' was not declared in this scope
    cin >> a[i];
           ^
0_0_22587655_10993.cpp:22:4: error: 'sum' was not declared in this scope
    sum += a[i];
    ^
0_0_22587655_10993.cpp:26:6: error: 'sum' was not declared in this scope
   if(sum % k != 0)
      ^
0_0_22587655_10993.cpp:31:6: error: expected ';' before 'kk'
   ll kk = sum / k;
      ^
0_0_22587655_10993.cpp:33:12: error: request for member 'empty' in 's', which is of non-class type 'int'
   while(!s.empty())
            ^
0_0_22587655_10993.cpp:35:7: error: expected ';' before 'u'
    ll u = s.front();
       ^
0_0_22587655_10993.cpp:36:6: error: request for member 'pop_front' in 's', which is of non-class type 'int'
    s.pop_front();
      ^
0_0_22587655_10993.cpp:37:7: error: 'u' was not declared in this scope
    if(u == kk)continue;
       ^
0_0_22587655_10993.cpp:37:12: error: 'kk' was not declared in this scope
    if(u == kk)continue;
            ^
0_0_22587655_10993.cpp:44:7: error: 'u' was not declared in this scope
    if(u == 0)continue;
       ^
0_0_22587655_10993.cpp:45:7: error: 'u' was not declared in this scope
    if(u < k)
       ^
0_0_22587655_10993.cpp:49:9: error: expected ';' before 'v'
      ll v = s.front();
         ^
0_0_22587655_10993.cpp:50:8: error: request for member 'pop_front' in 's', which is of non-class type 'int'
      s.pop_front();
        ^
0_0_22587655_10993.cpp:51:11: error: 'v' was not declared in this scope
      u += v;
           ^
0_0_22587655_10993.cpp:56:9: error: request for member 'push_back' in 's', which is of non-class type 'int'
       s.push_back(u);
         ^


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-11-14 12:29:14, Gzip enabled