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_38594769_8174.cpp: In function 'int main()':
0_0_38594769_8174.cpp:17:5: error: invalid types 'int[int]' for array subscript
  a[1]=k*c+(m+n)/2*a;
     ^
0_0_38594769_8174.cpp:18:5: error: invalid types 'int[int]' for array subscript
  a[2]=k*c+(m+n)/3*b;
     ^
0_0_38594769_8174.cpp:19:5: error: invalid types 'int[int]' for array subscript
  a[3]=(n+m+2k)/2*a;
     ^
0_0_38594769_8174.cpp:19:12: error: unable to find numeric literal operator 'operator""k'
  a[3]=(n+m+2k)/2*a;
            ^~
0_0_38594769_8174.cpp:19:12: note: use -fext-numeric-literals to enable more built-in suffixes
0_0_38594769_8174.cpp:20:5: error: invalid types 'int[int]' for array subscript
  a[4]=(n+m+2k)/3*b;
     ^
0_0_38594769_8174.cpp:20:12: error: unable to find numeric literal operator 'operator""k'
  a[4]=(n+m+2k)/3*b;
            ^~
0_0_38594769_8174.cpp:20:12: note: use -fext-numeric-literals to enable more built-in suffixes
0_0_38594769_8174.cpp:21:5: error: invalid types 'int[int]' for array subscript
  a[5]=k*c+n/2*a+m/3*b;
     ^
0_0_38594769_8174.cpp:22:5: error: invalid types 'int[int]' for array subscript
  a[6]=k*c+m/2*a+n/3*b;
     ^
0_0_38594769_8174.cpp:24:6: error: invalid types 'int[int]' for array subscript
   a[1]=a[1]+1;
      ^
0_0_38594769_8174.cpp:24:11: error: invalid types 'int[int]' for array subscript
   a[1]=a[1]+1;
           ^
0_0_38594769_8174.cpp:25:6: error: invalid types 'int[int]' for array subscript
   a[2]=a[2]+1;
      ^
0_0_38594769_8174.cpp:25:11: error: invalid types 'int[int]' for array subscript
   a[2]=a[2]+1;
           ^
0_0_38594769_8174.cpp:26:6: error: invalid types 'int[int]' for array subscript
   a[5]=a[5]+1;
      ^
0_0_38594769_8174.cpp:26:11: error: invalid types 'int[int]' for array subscript
   a[5]=a[5]+1;
           ^
0_0_38594769_8174.cpp:29:6: error: invalid types 'int[int]' for array subscript
   a[3]=a[3]+1;
      ^
0_0_38594769_8174.cpp:29:11: error: invalid types 'int[int]' for array subscript
   a[3]=a[3]+1;
           ^
0_0_38594769_8174.cpp:30:6: error: invalid types 'int[int]' for array subscript
   a[4]=a[4]+1;
      ^
0_0_38594769_8174.cpp:30:11: error: invalid types 'int[int]' for array subscript
   a[4]=a[4]+1;
           ^
0_0_38594769_8174.cpp:31:6: error: invalid types 'int[int]' for array subscript
   a[6]=a[6]+1;
      ^
0_0_38594769_8174.cpp:31:11: error: invalid types 'int[int]' for array subscript
   a[6]=a[6]+1;
           ^
0_0_38594769_8174.cpp:33:17: error: invalid types 'int[int]' for array subscript
  pay=min(fun(a[1],a[2],a[3]),fun(a[4],a[5],a[6]))
                 ^
0_0_38594769_8174.cpp:33:22: error: invalid types 'int[int]' for array subscript
  pay=min(fun(a[1],a[2],a[3]),fun(a[4],a[5],a[6]))
                      ^
0_0_38594769_8174.cpp:33:27: error: invalid types 'int[int]' for array subscript
  pay=min(fun(a[1],a[2],a[3]),fun(a[4],a[5],a[6]))
                           ^
0_0_38594769_8174.cpp:33:37: error: invalid types 'int[int]' for array subscript
  pay=min(fun(a[1],a[2],a[3]),fun(a[4],a[5],a[6]))
                                     ^
0_0_38594769_8174.cpp:33:42: error: invalid types 'int[int]' for array subscript
  pay=min(fun(a[1],a[2],a[3]),fun(a[4],a[5],a[6]))
                                          ^
0_0_38594769_8174.cpp:33:47: error: invalid types 'int[int]' for array subscript
  pay=min(fun(a[1],a[2],a[3]),fun(a[4],a[5],a[6]))
                                               ^


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-24 19:27:36, Gzip enabled