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_27428118_19743.cpp: In function 'int main()':
0_0_27428118_19743.cpp:5:21: error: expected ')' before ';' token
 #define m 1000000007;
                     ^
0_0_27428118_19743.cpp:41:54: note: in expansion of macro 'm'
                  printf("%d ",a[(n+i-1-t%n)%n+1]*ans%m);
                                                      ^
0_0_27428118_19743.cpp:41:55: error: expected primary-expression before ')' token
                  printf("%d ",a[(n+i-1-t%n)%n+1]*ans%m);
                                                       ^
0_0_27428118_19743.cpp:5:21: error: expected ')' before ';' token
 #define m 1000000007;
                     ^
0_0_27428118_19743.cpp:43:58: note: in expansion of macro 'm'
                     printf("%d\n",a[(n+i-1-t%n)%n+1]*ans%m);
                                                          ^
0_0_27428118_19743.cpp:43:59: error: expected primary-expression before ')' token
                     printf("%d\n",a[(n+i-1-t%n)%n+1]*ans%m);
                                                           ^


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 10:20:51, Gzip enabled