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_34221887_15098.cpp: In function 'int main()':
0_0_34221887_15098.cpp:42:12: error: 'M' was not declared in this scope
     memset(M,0,sizeof(M));
            ^
0_0_34221887_15098.cpp:42:25: error: 'memset' was not declared in this scope
     memset(M,0,sizeof(M));
                         ^
0_0_34221887_15098.cpp:43:12: error: 'C' was not declared in this scope
     memset(C,0,sizeof(C));
            ^
0_0_34221887_15098.cpp:44:19: error: 'N' was not declared in this scope
     scanf("%d%d",&N,&K);
                   ^
0_0_34221887_15098.cpp:44:22: error: 'K' was not declared in this scope
     scanf("%d%d",&N,&K);
                      ^
0_0_34221887_15098.cpp:51:13: error: 'C2' was not declared in this scope
         if((C2-C1)%T!=0) {flag=0;break;}
             ^
0_0_34221887_15098.cpp:51:16: error: 'C1' was not declared in this scope
         if((C2-C1)%T!=0) {flag=0;break;}
                ^
0_0_34221887_15098.cpp:51:20: error: 'T' was not declared in this scope
         if((C2-C1)%T!=0) {flag=0;break;}
                    ^
0_0_34221887_15098.cpp:52:18: error: 'M2' was not declared in this scope
         M[i]=(M1*M2)/T;
                  ^
0_0_34221887_15098.cpp:52:22: error: 'T' was not declared in this scope
         M[i]=(M1*M2)/T;
                      ^
0_0_34221887_15098.cpp:53:39: error: 'C2' was not declared in this scope
         C[i]= ( inv( M1/T , M2/T ) * (C2-C1)/T ) % (M2/T) * M1 + C1;
                                       ^
0_0_34221887_15098.cpp:53:42: error: 'C1' was not declared in this scope
         C[i]= ( inv( M1/T , M2/T ) * (C2-C1)/T ) % (M2/T) * M1 + C1;
                                          ^
0_0_34221887_15098.cpp: At global scope:
0_0_34221887_15098.cpp:68:1: error: expected declaration before '}' token
 } 
 ^


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-06-29 21:57:58, Gzip enabled