Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma GCC optimize("O3")
- #include <bits/stdc++.h>
- using namespace std;
- #define int long long
- #define double long double
- #define endl '\n'
- #define fastio ios_base::sync_with_stdio(0); cin.tie(0)
- signed main()
- {
- fastio;
- /*
- int n;
- cin >> n;
- for(int i = 1; i <= n; i++){
- cout << i << " OK\n";
- }
- int i = 1;
- while(i <= n){
- cout << i << " OK\n";
- i++;
- }
- */
- /*
- // B
- int a , b;
- cin >> a >> b;
- for(int i = a; i <= b; i++){
- if(i % 2) // tek
- cout << i << " ";
- }
- */
- /*
- // C
- int a , b;
- cin >> a >> b;
- for(int i = b; i >= a; i--){
- if(i % 2 == 0)
- cout << i << " ";
- }
- */
- /*
- int n;
- cin >> n;
- while(n--){ // n defe
- cout << "0";
- cout << "1";
- }
- */
- /*
- int a , b;
- cin >> a >> b;
- for(int i = a; i <= b; i++)
- cout << i << " ";
- int i = a;
- while(i <= b){
- cout << i << " ";
- i++;
- }
- */
- /*
- int n;
- cin >> n;
- int i = n;
- while(i >= 0){
- cout << i << " sek" << '\n';
- i--;
- }
- */
- /*
- int n;
- cin >> n;
- for(int i = 2; i < n; i *= 2){
- cout << i << " ";
- }
- */
- /*
- int n;
- cin >> n;
- for(int i = 1; i <= n; i++){
- cout << i * i << " ";
- }
- */
- /*
- int n;
- cin >> n;
- for(int i = 1; i * i * i < n; i++){
- cout << i * i * i << " ";
- }
- int i = 1;
- while(i * i * i < n){
- cout << i * i * i << " ";
- i++;
- }
- */
- /*
- int n;
- cin >> n;
- for(int i = 1; i <= n; i++)
- cout << i << " ";
- */
- /*
- int n;
- cin >> n;
- for(int i = 1; i <= n; i++)
- cout << i * 2 - 1 << " ";
- */
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement