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_39540820_24671.cpp: In function 'void Solve()':
0_0_39540820_24671.cpp:53:43: error: 'const __gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::value_type' {aka 'const struct std::pair<int, int>'} has no member named 'st'
   53 |             ii _vPos = {uPos / 3 + mov[i].st, uPos % 3 + mov[i].nd};
      |                                           ^~
0_0_39540820_24671.cpp:53:65: error: 'const __gnu_cxx::__alloc_traits<std::allocator<std::pair<int, int> >, std::pair<int, int> >::value_type' {aka 'const struct std::pair<int, int>'} has no member named 'nd'
   53 |             ii _vPos = {uPos / 3 + mov[i].st, uPos % 3 + mov[i].nd};
      |                                                                 ^~
0_0_39540820_24671.cpp:53:67: error: could not convert '{<expression error>, <expression error>}' from '<brace-enclosed initializer list>' to 'ii' {aka 'std::pair<int, int>'}
   53 |             ii _vPos = {uPos / 3 + mov[i].st, uPos % 3 + mov[i].nd};
      |                                                                   ^
      |                                                                   |
      |                                                                   <brace-enclosed initializer list>
0_0_39540820_24671.cpp:54:27: error: 'ii' {aka 'struct std::pair<int, int>'} has no member named 'st'
   54 |             if (0 > _vPos.st || _vPos.st >= 3 || 0 > _vPos.nd || _vPos.nd >= 3) continue;
      |                           ^~
0_0_39540820_24671.cpp:54:39: error: 'ii' {aka 'struct std::pair<int, int>'} has no member named 'st'
   54 |             if (0 > _vPos.st || _vPos.st >= 3 || 0 > _vPos.nd || _vPos.nd >= 3) continue;
      |                                       ^~
0_0_39540820_24671.cpp:54:60: error: 'ii' {aka 'struct std::pair<int, int>'} has no member named 'nd'
   54 |             if (0 > _vPos.st || _vPos.st >= 3 || 0 > _vPos.nd || _vPos.nd >= 3) continue;
      |                                                            ^~
0_0_39540820_24671.cpp:54:72: error: 'ii' {aka 'struct std::pair<int, int>'} has no member named 'nd'
   54 |             if (0 > _vPos.st || _vPos.st >= 3 || 0 > _vPos.nd || _vPos.nd >= 3) continue;
      |                                                                        ^~
0_0_39540820_24671.cpp:55:30: error: 'ii' {aka 'struct std::pair<int, int>'} has no member named 'st'
   55 |             int vPos = _vPos.st * 3 + _vPos.nd;
      |                              ^~
0_0_39540820_24671.cpp:55:45: error: 'ii' {aka 'struct std::pair<int, int>'} has no member named 'nd'
   55 |             int vPos = _vPos.st * 3 + _vPos.nd;
      |                                             ^~


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-22 13:34:58, Gzip enabled