Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
346 B
0
Indexable
Never
#include <iostream>

using namespace std;

typedef long long ll;

int a[5] = {1, 6, 28, 496, 8128};

int main() { // HOANHAO
    freopen("HOANHAO.INP","r",stdin);
    freopen("HOANHAO.OUT","w",stdout);

    int r, s; cin >> r >> s;
    for(int i = 0; i < 5; i++){
        if(a[i] >= r && a[i] <= s) cout << a[i] << " ";
    }
    
    return 0;
}
Leave a Comment