QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#342043 | #21608. 行列式 | yoy68# | Compile Error | / | / | C++14 | 1.1kb | 2024-03-01 08:15:16 | 2024-03-01 08:15:18 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
answer.code:55:9: error: expected initializer before ‘in’ 55 | in(n); | ^~ answer.code:14:22: error: expected unqualified-id before ‘for’ 14 | #define For(i, l, r) for(int i = l; i <= r; i ++) | ^~~ answer.code:56:9: note: in expansion of macro ‘For’ 56 | For(i, 1, n) For(j, 1, n) in(a[i][j]); | ^~~ answer.code:56:13: error: ‘i’ does not name a type 56 | For(i, 1, n) For(j, 1, n) in(a[i][j]); | ^ answer.code:14:37: note: in definition of macro ‘For’ 14 | #define For(i, l, r) for(int i = l; i <= r; i ++) | ^ answer.code:56:13: error: ‘i’ does not name a type 56 | For(i, 1, n) For(j, 1, n) in(a[i][j]); | ^ answer.code:14:45: note: in definition of macro ‘For’ 14 | #define For(i, l, r) for(int i = l; i <= r; i ++) | ^ answer.code:56:26: error: ‘j’ does not name a type 56 | For(i, 1, n) For(j, 1, n) in(a[i][j]); | ^ answer.code:14:37: note: in definition of macro ‘For’ 14 | #define For(i, l, r) for(int i = l; i <= r; i ++) | ^ answer.code:56:26: error: ‘j’ does not name a type 56 | For(i, 1, n) For(j, 1, n) in(a[i][j]); | ^ answer.code:14:45: note: in definition of macro ‘For’ 14 | #define For(i, l, r) for(int i = l; i <= r; i ++) | ^ answer.code:57:15: error: expected constructor, destructor, or type conversion before ‘(’ token 57 | printf("%lld\n", det()); | ^ answer.code:58:9: error: ‘cerr’ does not name a type 58 | cerr << (&WEI - &TOU) * 1.0 / 1024 / 1024 << endl; | ^~~~ answer.code:59:9: error: expected unqualified-id before ‘return’ 59 | return 0; | ^~~~~~ answer.code:60:1: error: expected declaration before ‘}’ token 60 | } | ^