Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <bits/stdc++.h>
- using namespace std;
- long long i, i1, j, k, t, n, a, b, d;
- long double c;
- vector<long double> tp;
- int main() {
- ios::sync_with_stdio(0);
- cin.tie(0);
- ifstream cin("input.txt");
- ofstream cout("output.txt");
- for (i = 0; i < 100; i++) {
- cin >> a;
- tp.clear();
- for (j = 0; j < a; j++) {
- cin >> c;
- tp.push_back(floor(c));
- }
- for (j = 0; j < tp.size(); j++) {
- cout << tp[j] << ' ';
- }
- cout << endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement