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_25140310_22397.cpp: In function 'void mul(int)':
0_0_25140310_22397.cpp:35:13: error: 'n' was not declared in this scope
     rep(i,1,n+1){
             ^
0_0_25140310_22397.cpp:12:35: note: in definition of macro 'rep'
 #define rep(i,a,n) for(int i=a; i<n; ++i)
                                   ^
0_0_25140310_22397.cpp:39:34: error: 'k' was not declared in this scope
                 temp[i][j]+=I[i][k]*a[k][j];
                                  ^
0_0_25140310_22397.cpp:43:13: error: 'n' was not declared in this scope
     rep(i,1,n+1){
             ^
0_0_25140310_22397.cpp:12:35: note: in definition of macro 'rep'
 #define rep(i,a,n) for(int i=a; i<n; ++i)
                                   ^
0_0_25140310_22397.cpp: In function 'void add()':
0_0_25140310_22397.cpp:52:13: error: 'n' was not declared in this scope
     rep(i,1,n+1){
             ^
0_0_25140310_22397.cpp:12:35: note: in definition of macro 'rep'
 #define rep(i,a,n) for(int i=a; i<n; ++i)
                                   ^


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-26 22:14:36, Gzip enabled