Problem weddingcoins
User jmuzhen
Submission Time 2024-06-29 16:25:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

weddingcoins.cpp:4:12: error: ‘int128_t’ was not declared in this scope; did you mean ‘int32_t’?
4 | #define ll int128_t
| ^~~~~~~~
weddingcoins.cpp:6:8: note: in expansion of macro ‘ll’
6 | vector<ll> values = { 1, 5, 10, 50, 100, 500, 1000, 5000, 10000, 50000, 100000, 500000, 1000000 };
| ^~
weddingcoins.cpp:6:10: error: template argument 1 is invalid
6 | vector<ll> values = { 1, 5, 10, 50, 100, 500, 1000, 5000, 10000, 50000, 100000, 500000, 1000000 };
| ^
weddingcoins.cpp:6:10: error: template argument 2 is invalid
weddingcoins.cpp:6:12: error: scalar object ‘values’ requires one element in initializer
6 | vector<ll> values = { 1, 5, 10, 50, 100, 500, 1000, 5000, 10000, 50000, 100000, 500000, 1000000 };
| ^~~~~~
weddingcoins.cpp: In function ‘int main()’:
weddingcoins.cpp:4:12: error: ‘int128_t’ was not declared in this scope; did you mean ‘int32_