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_30515762_23496.cpp: In function 'int main()':
0_0_30515762_23496.cpp:58:24: error: invalid operands of types 'll [31] {aka long long int [31]}' and 'll* {aka long long int*}' to binary 'operator+'
         (f[j][k+l1][l1]+=(g[j][k][l]+(n+m-j-k)*c[m-k][l1]%p%p*qpow((qpow(2,l)-1),l1)))%=p;
                        ^
0_0_30515762_23496.cpp:58:24: error:   in evaluation of 'operator+=(ll [31] {aka long long int [31]}, ll* {aka long long int*})'
0_0_30515762_23496.cpp:64:24: error: invalid operands of types 'll [31] {aka long long int [31]}' and 'll* {aka long long int*}' to binary 'operator+'
         (f[j+l1][k][l1]+=(g[j][k][l]+(n+m-j-k)*c[n-j][l1]%p%p*qpow((qpow(2,l)-1),l1)))%=p;
                        ^
0_0_30515762_23496.cpp:64:24: error:   in evaluation of 'operator+=(ll [31] {aka long long int [31]}, ll* {aka long long int*})'
0_0_30515762_23496.cpp:67:52: error: invalid operands of types 'll* {aka long long int*}' and 'll {aka long long int}' to binary 'operator%'
       for (int j=0;j<=30;j++) ans=(ans+f[n][m][j])%p;
                                                    ^


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-23 03:51:50, Gzip enabled