QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#419063#7752. The Only Way to the Destinationucup-team1849Compile Error//C++142.6kb2024-05-23 17:26:142024-05-23 17:26:16

详细

answer.code: In function ‘void solve()’:
answer.code:78:141: error: request for member ‘first’ in ‘t.std::pair<long long int, std::pair<long long int, long long int> >::first’, which is of non-class type ‘long long int’
   78 |                                         if(t.second.second>q[i-1][j].second.first&&q[i-1][j].second.first!=q[i-1][j].second.second&&t.first.first!=t.second.second){f=false;break;}
      |                                                                                                                                             ^~~~~