본문 바로가기

Solutions/Fanta's Solution

pku 1454, UVa 324. Factorial Frequencies. CE. 채점큐




아침부터 bigint열심히 만들었는데....


Main.cpp
Main.cpp(189) : error C2679: binary '=' : no operator found which takes a right-hand operand of type 'bigint' (or there is no acceptable conversion); Main.cpp(11): could be 'bigint bigint::operator =(char *)'; Main.cpp(12): or       'bigint bigint::operator =(int)'; Main.cpp(13): or       'bigint bigint::operator =(bigint)'; while trying to match the argument list '(bigint, bigint)'

Main.cpp(220) : error C2616: 'argument' : cannot implicitly convert a non-lvalue 'bigint' to a 'bigint &' that is not const; while checking that elided copy-constructor 'bigint::bigint(bigint &)' is callable; Main.cpp(20) : see declaration of 'bigint::bigint'; when converting from 'int' to 'bigint'

Main.cpp(220) : error C2679: binary '=' : no operator found which takes a right-hand operand of type 'bigint' (or there is no acceptable conversion); Main.cpp(11): could be 'bigint bigint::operator =(char *)'; Main.cpp(12): or       'bigint bigint::operator =(int)'; Main.cpp(13): or       'bigint bigint::operator =(bigint)'; while trying to match the argument list '(bigint, bigint)'

어떻게 고쳐야하는지..


아옥

'Solutions > Fanta's Solution' 카테고리의 다른 글

PKU 2656. Unhappy Jinjin. AC  (3) 2009.05.16
PKU 1163. The Triangle. AC  (0) 2009.04.19
PKU 2039. To and Fro. AC  (0) 2009.04.04
PKU1455. Crazy tea party. AC  (0) 2009.03.07
PKU 2719. Faulty Odometer. AC  (3) 2009.02.20