Track C++
C++ track

Trinary

An exercise from the C++ track
easy

About this exercise

Convert a trinary number, represented as a string (e.g. '102012'), to its decimal equivalent using first principles.

strings
math
View all solutions