| Problem | binarycoins |
|---|---|
| User | KYKY027 |
| Submission Time | 2026-03-07 10:23:51 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
binarycoins.cpp: In function ‘int main()’:
binarycoins.cpp:9:17: error: ‘str’ was not declared in this scope; did you mean ‘std’?
9 | for(auto it = (str)binaryRep.begin(); it != (str)binaryRep.end(); it++){
| ^~~
| std
binarycoins.cpp:9:51: error: expected ‘;’ before ‘binaryRep’
9 | for(auto it = (str)binaryRep.begin(); it != (str)binaryRep.end(); it++){
| ^~~~~~~~~
| ;
binarycoins.cpp:9:61: error: ‘class std::bitset<64>’ has no member named ‘end’
9 | for(auto it = (str)binaryRep.begin(); it != (str)binaryRep.end(); it++){
| ^~~
binarycoins.cpp:9:66: error: expected ‘)’ before ‘;’ token
9 | for(auto it = (str)binaryRep.begin(); it != (str)binaryRep.end(); it++){
| ~