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_37879307_28232.cpp: In member function 'std::tuple<int, int, MAIN::Matrix> MAIN::Matrix::gauss(int&) const':
0_0_37879307_28232.cpp:185:19: error: converting to 'std::tuple<int, int, MAIN::Matrix>' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {int&, int&, MAIN::Matrix&}; <template-parameter-2-2> = void; _Elements = {int, int, MAIN::Matrix}]'
    return {r,p,cur};
                   ^
0_0_37879307_28232.cpp: In member function 'MAIN::Matrix MAIN::Matrix::getadj()':
0_0_37879307_28232.cpp:298:9: error: expected unqualified-id before '[' token
    auto [rk,p,mat]=gauss(swap_cnt);
         ^
0_0_37879307_28232.cpp:299:7: error: 'rk' was not declared in this scope
    if(rk<n-1)return Matrix(n,n);
       ^
0_0_37879307_28232.cpp:300:7: error: 'rk' was not declared in this scope
    if(rk==n-1){
       ^


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