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_29441649_6094.cpp: In function 'void mult()':
0_0_29441649_6094.cpp:48:2: error: expected primary-expression before 'int'
  int x[N][N],int y[N][N]
  ^
0_0_29441649_6094.cpp:48:2: error: return-statement with a value, in function returning 'void' [-fpermissive]
0_0_29441649_6094.cpp:48:2: error: expected ';' before 'int'
0_0_29441649_6094.cpp:48:14: error: expected unqualified-id before 'int'
  int x[N][N],int y[N][N]
              ^
0_0_29441649_6094.cpp:50:10: error: 'i' was not declared in this scope
     for (i=1;i<=n;i++)
          ^
0_0_29441649_6094.cpp:50:17: error: 'n' was not declared in this scope
     for (i=1;i<=n;i++)
                 ^
0_0_29441649_6094.cpp:51:14: error: 'j' was not declared in this scope
         for (j=1;j<=n;j++)
              ^
0_0_29441649_6094.cpp:53:17: error: 'c' was not declared in this scope
                 c[i][j]=0;
                 ^
0_0_29441649_6094.cpp:54:22: error: 'k' was not declared in this scope
                 for (k=1;k<=n;k++) c[i][j]=(c[i][j]+x[i][k]*y[k][j])%mo;
                      ^
0_0_29441649_6094.cpp:54:61: error: 'y' was not declared in this scope
                 for (k=1;k<=n;k++) c[i][j]=(c[i][j]+x[i][k]*y[k][j])%mo;
                                                             ^
0_0_29441649_6094.cpp:54:70: error: 'mo' was not declared in this scope
                 for (k=1;k<=n;k++) c[i][j]=(c[i][j]+x[i][k]*y[k][j])%mo;
                                                                      ^
0_0_29441649_6094.cpp:56:10: error: 'i' was not declared in this scope
     for (i=1;i<=n;i++)
          ^
0_0_29441649_6094.cpp:56:17: error: 'n' was not declared in this scope
     for (i=1;i<=n;i++)
                 ^
0_0_29441649_6094.cpp:57:14: error: 'j' was not declared in this scope
         for (j=1;j<=n;j++) x[i][j]=c[i][j];
              ^
0_0_29441649_6094.cpp:57:36: error: 'c' was not declared in this scope
         for (j=1;j<=n;j++) x[i][j]=c[i][j];
                                    ^
0_0_29441649_6094.cpp: In function 'int main()':
0_0_29441649_6094.cpp:83:5: error: expected ';' before 'int'
     int t; scanf("%d", &t);
     ^
0_0_29441649_6094.cpp:83:25: error: 't' was not declared in this scope
     int t; scanf("%d", &t);
                         ^


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-12-02 16:37:41, Gzip enabled