Problem foodchain
User oiu890
Submission Time 2024-02-07 22:47:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foodchain.cpp: In function ‘int main()’:
foodchain.cpp:9:27: error: invalid static_cast from type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to type ‘__int128 unsigned’
9 | a = static_cast<u28>(a);
| ^
foodchain.cpp:10:27: error: invalid static_cast from type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to type ‘__int128 unsigned’
10 | b = static_cast<u28>(b);
| ^
foodchain.cpp:11:27: error: invalid static_cast from type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to type ‘__int128 unsigned’
11 | c = static_cast<u28>(c);
| ^
foodchain.cpp:12:27: error: invalid static_cast from type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} to type ‘__int128 unsigned’
12 | d = static_cast<u28>(d);
| ^
foodchain.cpp:13: