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_36695652_23865.cpp:15:32: error: converting to 'LLV {aka std::tuple<long long int, long long int, long long int>}' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {long long int, long long int, long long int}; <template-parameter-2-2> = void; _Elements = {long long int, long long int, long long int}]'
 const LLV ZERO = {0LL, 0LL, 0LL};
                                ^
0_0_36695652_23865.cpp: In function 'LLV addTuple(LLV, LLV)':
0_0_36695652_23865.cpp:19:80: error: converting to 'LLV {aka std::tuple<long long int, long long int, long long int>}' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {long long int, long long int, long long int}; <template-parameter-2-2> = void; _Elements = {long long int, long long int, long long int}]'
     return {get<0>(a) + get<0>(b), get<1>(a) + get<1>(b), get<2>(a) + get<2>(b)};
                                                                                ^
0_0_36695652_23865.cpp: In function 'std::tuple<long long int, std::tuple<long long int, long long int, long long int> > get(int, LLV)':
0_0_36695652_23865.cpp:33:61: error: converting to 'std::tuple<long long int, std::tuple<long long int, long long int, long long int> >' from initializer list would use explicit constructor 'constexpr std::tuple<_T1, _T2>::tuple(_U1&&, _U2&&) [with _U1 = long long int; _U2 = std::tuple<long long int, long long int, long long int>&; <template-parameter-2-3> = void; _T1 = long long int; _T2 = std::tuple<long long int, long long int, long long int>]'
     return {get<1>(v) + get<2>(v) * i - get<0>(v) * i * i, v};
                                                             ^
0_0_36695652_23865.cpp: In function 'LLV set(int, int, LL, LL, int)':
0_0_36695652_23865.cpp:43:33: error: converting to 'LLV {aka std::tuple<long long int, long long int, long long int>}' from initializer list would use explicit constructor 'constexpr std::tuple< <template-parameter-1-1> >::tuple(_UElements&& ...) [with _UElements = {long long int, long long int, long long int}; <template-parameter-2-2> = void; _Elements = {long long int, long long int, long long int}]'
     add(i + g, {-v, -v0, -v1}, n);
                                 ^


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-05-17 16:03:54, Gzip enabled