1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <random>
#include <iostream>
using namespace std;
 
int n, ans;
int main() {
    random_device rd;
    mt19937 gen(rd());
 
    cin >> n;
    for (int i = 0; i < n; ++i)
        ans += rd() % 100;
 
    cout << ans << ' ';
    return 0;
}
cs

이거 당첨되느니 로또가 빠르려나