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_39494705_20355.cpp: In function 'void Solve()':
0_0_39494705_20355.cpp:46: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'
   46 |             ii _vPos = {uPos / 3 + mov[i].st, uPos % 3 + mov[i].nd};
      |                                           ^~
0_0_39494705_20355.cpp:46: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'
   46 |             ii _vPos = {uPos / 3 + mov[i].st, uPos % 3 + mov[i].nd};
      |                                                                 ^~
0_0_39494705_20355.cpp:46:67: error: could not convert '{<expression error>, <expression error>}' from '<brace-enclosed initializer list>' to 'ii' {aka 'std::pair<int, int>'}
   46 |             ii _vPos = {uPos / 3 + mov[i].st, uPos % 3 + mov[i].nd};
      |                                                                   ^
      |                                                                   |
      |                                                                   <brace-enclosed initializer list>
0_0_39494705_20355.cpp:47:27: error: 'ii' {aka 'struct std::pair<int, int>'} has no member named 'st'
   47 |             if (0 > _vPos.st || _vPos.st >= 3 || 0 > _vPos.nd || _vPos.nd >= 3) continue;
      |                           ^~
0_0_39494705_20355.cpp:47:39: error: 'ii' {aka 'struct std::pair<int, int>'} has no member named 'st'
   47 |             if (0 > _vPos.st || _vPos.st >= 3 || 0 > _vPos.nd || _vPos.nd >= 3) continue;
      |                                       ^~
0_0_39494705_20355.cpp:47:60: error: 'ii' {aka 'struct std::pair<int, int>'} has no member named 'nd'
   47 |             if (0 > _vPos.st || _vPos.st >= 3 || 0 > _vPos.nd || _vPos.nd >= 3) continue;
      |                                                            ^~
0_0_39494705_20355.cpp:47:72: error: 'ii' {aka 'struct std::pair<int, int>'} has no member named 'nd'
   47 |             if (0 > _vPos.st || _vPos.st >= 3 || 0 > _vPos.nd || _vPos.nd >= 3) continue;
      |                                                                        ^~
0_0_39494705_20355.cpp:48:30: error: 'ii' {aka 'struct std::pair<int, int>'} has no member named 'st'
   48 |             int vPos = _vPos.st * 3 + _vPos.nd;
      |                              ^~
0_0_39494705_20355.cpp:48:45: error: 'ii' {aka 'struct std::pair<int, int>'} has no member named 'nd'
   48 |             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-25 14:10:24, Gzip enabled