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_31952898_19326.cpp: In function 'int main()':
0_0_31952898_19326.cpp:3:23: error: expected ')' before ';' token
 #define mod 1000000007;
                       ^
0_0_31952898_19326.cpp:12:45: note: in expansion of macro 'mod'
         dp[i][1]=((((dp[i-1][1]+dp[i-1][2])%mod+dp[i-1][3])%mod)*25)%mod;
                                             ^
0_0_31952898_19326.cpp:3:23: error: expected ')' before ';' token
 #define mod 1000000007;
                       ^
0_0_31952898_19326.cpp:12:45: note: in expansion of macro 'mod'
         dp[i][1]=((((dp[i-1][1]+dp[i-1][2])%mod+dp[i-1][3])%mod)*25)%mod;
                                             ^
0_0_31952898_19326.cpp:3:23: error: expected ')' before ';' token
 #define mod 1000000007;
                       ^
0_0_31952898_19326.cpp:12:45: note: in expansion of macro 'mod'
         dp[i][1]=((((dp[i-1][1]+dp[i-1][2])%mod+dp[i-1][3])%mod)*25)%mod;
                                             ^
0_0_31952898_19326.cpp:12:59: error: expected ';' before ')' token
         dp[i][1]=((((dp[i-1][1]+dp[i-1][2])%mod+dp[i-1][3])%mod)*25)%mod;
                                                           ^
0_0_31952898_19326.cpp:12:64: error: expected primary-expression before ')' token
         dp[i][1]=((((dp[i-1][1]+dp[i-1][2])%mod+dp[i-1][3])%mod)*25)%mod;
                                                                ^
0_0_31952898_19326.cpp:3:23: error: expected ')' before ';' token
 #define mod 1000000007;
                       ^
0_0_31952898_19326.cpp:20:35: note: in expansion of macro 'mod'
         ll w=((dp[n][1]+dp[n][2])%mod+dp[n][3])%mod;
                                   ^
0_0_31952898_19326.cpp:20:47: error: expected ';' before ')' token
         ll w=((dp[n][1]+dp[n][2])%mod+dp[n][3])%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-25 17:24:40, Gzip enabled