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_29648496_32376.cpp: In function 'll dfs(int, int, int)':
0_0_29648496_32376.cpp:15:13: error: invalid operands of types 'll {aka long long int}' and 'double' to binary 'operator%'
 #define mod 1e9
             ^
0_0_29648496_32376.cpp:42:33: note: in expansion of macro 'mod'
         dp[a - 1][b + i][pre] % mod *ff[a] % mod * i % mod) % mod;
                                 ^
0_0_29648496_32376.cpp: In function 'void solve(ll, int, int)':
0_0_29648496_32376.cpp:15:13: error: invalid operands of types 'll {aka long long int}' and 'double' to binary 'operator%'
 #define mod 1e9
             ^
0_0_29648496_32376.cpp:61:38: note: in expansion of macro 'mod'
         all_sum == (all_sum + pre) % mod;
                                      ^
0_0_29648496_32376.cpp:15:13: error: invalid operands of types 'll {aka long long int}' and 'double' to binary 'operator%'
 #define mod 1e9
             ^
0_0_29648496_32376.cpp:63:66: note: in expansion of macro 'mod'
             tmp--,pre=pre+digcount(pre)+yu,all_sum=(all_sum+pre)%mod;
                                                                  ^
0_0_29648496_32376.cpp:15:13: error: invalid operands of types 'll {aka long long int}' and 'double' to binary 'operator%'
 #define mod 1e9
             ^
0_0_29648496_32376.cpp:73:50: note: in expansion of macro 'mod'
             all_sum = (all_sum + i * (tmp + 1) % mod * ff[wei] % mod) % mod;
                                                  ^
0_0_29648496_32376.cpp:15:13: error: invalid operands of types 'll {aka long long int}' and 'double' to binary 'operator%'
 #define mod 1e9
             ^
0_0_29648496_32376.cpp:78:61: note: in expansion of macro 'mod'
             all_sum = (all_sum + dp[wei - 1][i + yu][pre] % mod);
                                                             ^
0_0_29648496_32376.cpp: In function 'int main()':
0_0_29648496_32376.cpp:86:29: error: 'memeset' was not declared in this scope
     memeset(dp,-1,sizeof(dp));
                             ^
0_0_29648496_32376.cpp:87:32: error: 'memest' was not declared in this scope
     memest(l_dp,-1,sizeof(l_dp));
                                ^
0_0_29648496_32376.cpp:90:13: error: 'i' was not declared in this scope
     ff[1] = i;
             ^
0_0_29648496_32376.cpp:15:13: error: invalid operands of types 'll {aka long long int}' and 'double' to binary 'operator%'
 #define mod 1e9
             ^
0_0_29648496_32376.cpp:92:34: note: in expansion of macro 'mod'
         ff[i] = ff[i - 1] * 10 % mod;
                                  ^
0_0_29648496_32376.cpp:15:13: error: invalid operands of types 'll {aka long long int}' and 'double' to binary 'operator%'
 #define mod 1e9
             ^
0_0_29648496_32376.cpp:101:49: note: in expansion of macro 'mod'
                 sum[i][j] = (sum[i][j] + tmp) % mod, tmp = i + tmp + digcount(tmp), op ++;
                                                 ^
0_0_29648496_32376.cpp:127:31: error: 'fff' was not declared in this scope
             if(str[i] == 0 && fff = 0)
                               ^
0_0_29648496_32376.cpp:129:13: error: 'fff' was not declared in this scope
             fff = 1;
             ^
0_0_29648496_32376.cpp:15:13: error: invalid operands of types 'll {aka long long int}' and 'double' to binary 'operator%'
 #define mod 1e9
             ^
0_0_29648496_32376.cpp:132:36: note: in expansion of macro 'mod'
         printf(" %lld\n",all_sum % mod);
                                    ^


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-11 15:51:36, Gzip enabled