Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- int
- main ()
- {
- int a[N];
- int i, j, min = 10001;
- for (i = 0; i < N; i++)
- {
- cin >> a[i];
- }
- for (i = 0; i < N; i++)
- {
- if (a[i] / 100 >= 1 and a[i] % 4 == 0 and a[i] < min)
- {
- min = a[i];
- }
- }
- if (min == 10001)
- {
- cout << "ne naideno";
- }
- else
- cout << min;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement