Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include<cmath>
- using namespace std;
- int main() {
- string band, album, song;
- cin >> band >> album >> song;
- double rotation = 1.0 * band.length() * album.length() * song.length() / 2 / 2.5;
- cout << "The plate was rotated " << ceil(rotation) << " times.\n";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement