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_21749652_26607.cpp: In function 'int main()':
0_0_21749652_26607.cpp:119:40: error: converting to 'std::vector<std::tuple<int, int, int, double> >::value_type {aka std::tuple<int, int, int, double>}' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {int&, int&, int&, double&}; <template-parameter-2-2> = void; _Elements = {int, int, int, double}]'
    if (y >= 0)psu.push_back({ x,y,v,r });
                                        ^
0_0_21749652_26607.cpp:120:34: error: converting to 'std::vector<std::tuple<int, int, int, double> >::value_type {aka std::tuple<int, int, int, double>}' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {int&, int&, int&, double&}; <template-parameter-2-2> = void; _Elements = {int, int, int, double}]'
    else psd.push_back({ x,y,v,r });
                                  ^
0_0_21749652_26607.cpp:167:5: error: jump to label 'DOWNEND' [-fpermissive]
     DOWNEND:
     ^
0_0_21749652_26607.cpp:162:29: error:   from here [-fpermissive]
    if (itd == end(psd))goto DOWNEND;
                             ^
0_0_21749652_26607.cpp:164:53: error:   crosses initialization of 'int y2'
    int x1 = _x(*itu), x2 = _x(*itd), y1 = _y(*itu), y2 = _y(*itd);
                                                     ^
0_0_21749652_26607.cpp:164:38: error:   crosses initialization of 'int y1'
    int x1 = _x(*itu), x2 = _x(*itd), y1 = _y(*itu), y2 = _y(*itd);
                                      ^
0_0_21749652_26607.cpp:164:23: error:   crosses initialization of 'int x2'
    int x1 = _x(*itu), x2 = _x(*itd), y1 = _y(*itu), y2 = _y(*itd);
                       ^
0_0_21749652_26607.cpp:164:8: error:   crosses initialization of 'int x1'
    int x1 = _x(*itu), x2 = _x(*itd), y1 = _y(*itu), y2 = _y(*itd);
        ^
0_0_21749652_26607.cpp:163:26: error:   crosses initialization of 'double r2'
    double r1 = _r(*itu), r2 = _r(*itd);
                          ^
0_0_21749652_26607.cpp:163:11: error:   crosses initialization of 'double r1'
    double r1 = _r(*itu), r2 = _r(*itd);
           ^
0_0_21749652_26607.cpp:176:5: error: jump to label 'UPEND' [-fpermissive]
     UPEND:
     ^
0_0_21749652_26607.cpp:161:29: error:   from here [-fpermissive]
    if (itu == end(psu))goto UPEND;
                             ^
0_0_21749652_26607.cpp:164:53: error:   crosses initialization of 'int y2'
    int x1 = _x(*itu), x2 = _x(*itd), y1 = _y(*itu), y2 = _y(*itd);
                                                     ^
0_0_21749652_26607.cpp:164:38: error:   crosses initialization of 'int y1'
    int x1 = _x(*itu), x2 = _x(*itd), y1 = _y(*itu), y2 = _y(*itd);
                                      ^
0_0_21749652_26607.cpp:164:23: error:   crosses initialization of 'int x2'
    int x1 = _x(*itu), x2 = _x(*itd), y1 = _y(*itu), y2 = _y(*itd);
                       ^
0_0_21749652_26607.cpp:164:8: error:   crosses initialization of 'int x1'
    int x1 = _x(*itu), x2 = _x(*itd), y1 = _y(*itu), y2 = _y(*itd);
        ^
0_0_21749652_26607.cpp:163:26: error:   crosses initialization of 'double r2'
    double r1 = _r(*itu), r2 = _r(*itd);
                          ^
0_0_21749652_26607.cpp:163:11: error:   crosses initialization of 'double r1'
    double r1 = _r(*itu), r2 = _r(*itd);
           ^


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-07-02 22:34:27, Gzip enabled