Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string>
- using namespace std;
- // Bitcoin
- int main()
- {
- int a, b, total;
- cin >> a >> b >> total;
- int m = 33;
- int n = 58;
- for (int i = 1; i <= a; i++)
- {
- for (int j = 1; j <= b; j++)
- {
- cout << (char)m << (char)n << i << j << (char)n << (char)m << "|";
- m++;
- if (m > 47) m = 33;
- n++;
- if (n > 64) n = 58;
- total--;
- if (total == 0) return 0;
- }
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement