Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <algorithm>
- #include <vector>
- using namespace std;
- int main()
- {
- int n;
- cin >> n;
- vector<int> v;
- for(int i = 0; i < n; i++) {
- int x;
- cin >> x;
- v.push_back(x);
- }
- // ova e nacinot na koj ja vadime sekoja cifra posebno za nekoj broj
- int b = 123;
- while(b > 0) {
- int cifra = b % 10;
- b /= 10;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement