You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
362 B
15 lines
362 B
#include <bits/stdc++.h>
|
|
|
|
using namespace std;
|
|
typedef long long LL;
|
|
int primes[] = {2, 3, 5, 7, 11, 13, 17, 19, 23, 29};
|
|
int main() {
|
|
cout << INT_MAX << endl;
|
|
LL s = 1;
|
|
for (int i = 0; i <= 8; i++) s *= primes[i];
|
|
cout << s << endl;
|
|
s = 1;
|
|
for (int i = 0; i <= 9; i++) s *= primes[i];
|
|
cout << s << endl;
|
|
return 0;
|
|
} |