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_23373360_25979.cpp: In function 'Matrix operator*(Matrix, Matrix)':
0_0_23373360_25979.cpp:36:13: error: 'an' was not declared in this scope
   Matrix c (an);
             ^
0_0_23373360_25979.cpp:39:5: error: 'cv' was not declared in this scope
     cv [i] [j] = 0;
     ^
0_0_23373360_25979.cpp:41:19: error: expected primary-expression before '=' token
      cv [i] [j] + = (av [i] [k] * bv [k] [j])% mod;
                   ^
0_0_23373360_25979.cpp:41:22: error: 'av' was not declared in this scope
      cv [i] [j] + = (av [i] [k] * bv [k] [j])% mod;
                      ^
0_0_23373360_25979.cpp:41:35: error: 'bv' was not declared in this scope
      cv [i] [j] + = (av [i] [k] * bv [k] [j])% mod;
                                   ^
0_0_23373360_25979.cpp:42:18: error: expected primary-expression before '=' token
      cv [i] [j]% = mod;
                  ^
0_0_23373360_25979.cpp: In function 'Matrix operator^(Matrix, ll)':
0_0_23373360_25979.cpp:50:13: error: 'an' was not declared in this scope
   Matrix c (an);
             ^
0_0_23373360_25979.cpp:56:9: error: expected primary-expression before '=' token
    k >> = 1;
         ^
0_0_23373360_25979.cpp: In function 'Matrix operator+(Matrix, Matrix)':
0_0_23373360_25979.cpp:62:13: error: 'an' was not declared in this scope
   Matrix c (an);
             ^
0_0_23373360_25979.cpp:65:4: error: 'cv' was not declared in this scope
    cv [i] [j] = (bv [i] [j] + av [i] [j])% mod;
    ^
0_0_23373360_25979.cpp:65:18: error: 'bv' was not declared in this scope
    cv [i] [j] = (bv [i] [j] + av [i] [j])% mod;
                  ^
0_0_23373360_25979.cpp:65:31: error: 'av' was not declared in this scope
    cv [i] [j] = (bv [i] [j] + av [i] [j])% mod;
                               ^
0_0_23373360_25979.cpp: In function 'Matrix operator+(Matrix, ll)':
0_0_23373360_25979.cpp:71:22: error: 'an' was not declared in this scope
   for (int i = 0; i <an; i ++)
                      ^
0_0_23373360_25979.cpp:72:4: error: 'cv' was not declared in this scope
    cv [i] [i] = (av [i] [i] + b)% mod;
    ^
0_0_23373360_25979.cpp:72:18: error: 'av' was not declared in this scope
    cv [i] [i] = (av [i] [i] + b)% mod;
                  ^
0_0_23373360_25979.cpp: In function 'int main()':
0_0_23373360_25979.cpp:81:42: error: expected ')' before '!' token
   while (scanf ("% I64d% I64d", & n, & m)! = EOF) {
                                          ^
0_0_23373360_25979.cpp:81:44: error: expected primary-expression before '=' token
   while (scanf ("% I64d% I64d", & n, & m)! = EOF) {
                                            ^


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-29 08:40:07, Gzip enabled