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_39373658_23850.cpp: In function 'int main()':
0_0_39373658_23850.cpp:15:17: error: 'matrix' was not declared in this scope; did you mean 'mtrix'?
   15 |                 matrix[ch-'A'] = mk(x, y);
      |                 ^~~~~~
      |                 mtrix
0_0_39373658_23850.cpp:29:41: error: 'matrix' was not declared in this scope; did you mean 'mtrix'?
   29 |                                 sp.push(matrix[st[i]-'A']);
      |                                         ^~~~~~
      |                                         mtrix
0_0_39373658_23850.cpp:35:39: error: 'struct std::pair<int, int>' has no member named 'a'
   35 |                                 if(m1.a != m2.b) {
      |                                       ^
0_0_39373658_23850.cpp:35:47: error: 'struct std::pair<int, int>' has no member named 'b'
   35 |                                 if(m1.a != m2.b) {
      |                                               ^
0_0_39373658_23850.cpp:39:33: error: 'ans' was not declared in this scope; did you mean 'abs'?
   39 |                                 ans += m1.a * m2.a * m1.b;
      |                                 ^~~
      |                                 abs
0_0_39373658_23850.cpp:39:43: error: 'struct std::pair<int, int>' has no member named 'a'
   39 |                                 ans += m1.a * m2.a * m1.b;
      |                                           ^
0_0_39373658_23850.cpp:39:50: error: 'struct std::pair<int, int>' has no member named 'a'
   39 |                                 ans += m1.a * m2.a * m1.b;
      |                                                  ^
0_0_39373658_23850.cpp:39:57: error: 'struct std::pair<int, int>' has no member named 'b'
   39 |                                 ans += m1.a * m2.a * m1.b;
      |                                                         ^
0_0_39373658_23850.cpp:40:47: error: 'struct std::pair<int, int>' has no member named 'a'
   40 |                                 sp.push(mk(m2.a, m1.b));
      |                                               ^
0_0_39373658_23850.cpp:40:53: error: 'struct std::pair<int, int>' has no member named 'b'
   40 |                                 sp.push(mk(m2.a, m1.b));
      |                                                     ^
0_0_39373658_23850.cpp:44:30: error: 'ans' was not declared in this scope; did you mean 'abs'?
   44 |                 else cout << ans << endl;
      |                              ^~~
      |                              abs


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 15:18:03, Gzip enabled