Untitled
unknown
plain_text
a year ago
346 B
6
Indexable
#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;
}Editor is loading...
Leave a Comment