Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //B. N рядов из собачек
- #include <math.h>
- #include <iomanip>
- #include <iostream>
- using namespace std;
- int main()
- {
- int i = 0,n = 0,a[20] = {0};
- cin >> n ;
- while(n--)
- {
- i++;
- cin >> a[i];
- while(a[i]--)
- {
- cout << "@";
- }
- cout << "" << endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement