Untitled
unknown
plain_text
a year ago
343 B
7
Indexable
#include <iostream>
using namespace std;
typedef long long ll;
int a[5] = {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 < 4; i++){
        if(a[i] >= r && a[i] <= s) cout << a[i] << " ";
    }
    
    return 0;
}Editor is loading...
Leave a Comment