Problem | goodprogrammer |
---|---|
User | zhangdi |
Submission Time | 2025-05-23 23:54:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
goodprogrammer.cpp: In function ‘int main()’:
goodprogrammer.cpp:9:16: error: invalid operands of types ‘char [7]’ and ‘int’ to binary ‘operator*’
9 | string out = a*count;
| ~^~~~~~
| | |
| | int
| char [7]
goodprogrammer.cpp:10:16: error: expected ‘;’ before ‘cout’
10 | out.pop_back()
| ^
| ;
11 | cout<<out;
| ~~~~