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_20470704_7475.cpp:85:3: error: expected unqualified-id before 'return'
   return (res+MOD) % MOD;
   ^
0_0_20470704_7475.cpp:86:2: error: expected ';' after struct definition
  }
  ^
0_0_20470704_7475.cpp: In member function 'long long int Matrix::det(int, long long int)':
0_0_20470704_7475.cpp:70:17: error: 'i' was not declared in this scope
    for (int j = i+1; j < n; j++) 
                 ^
0_0_20470704_7475.cpp:83:20: error: 'i' was not declared in this scope
    res = res * mat[i][i] % MOD;
                    ^
0_0_20470704_7475.cpp: At global scope:
0_0_20470704_7475.cpp:87:1: error: expected declaration before '}' token
 }ret;
 ^


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-10-03 03:29:04, Gzip enabled