-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate - nullptr.cpp
62 lines (44 loc) · 1.12 KB
/
template - nullptr.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
#include <bits/stdc++.h>
#include <cassert>
//#include <time.h>
using namespace std;
/*
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
typedef tree<ull,null_type,less<ull>,rb_tree_tag, tree_order_statistics_node_update> orderedSet;
typedef tree<ull,null_type,less_equal<ull>,rb_tree_tag, tree_order_statistics_node_update> orderedMultiSet;
#define findBO find_by_order
#define findBK order_of_key
*/
#define rep(i, a, b) for(int i = a; i < (b); ++i)
#define all(x) begin(x), end(x)
#define sz(x) (int)(x).size()
using ll = int64_t;
using ull = uint64_t;
using ld = long double;
using pii = pair<ll, ll>;
using vi = vector<ll>;
#define MAX 1000100
#define MOD 1000000007
/////////// THIRD PARTY CODE ///////////
///////////////////////////////////////
vector<ll> a;
vector<ll> b;
ll n, m, k;
string s;
void solve(){
ll ans = 0;
for(ll i = 1; i <= 50; i++){
ans += pow(i, 5);
cout<<ans<<"\n";
}
}
int main(){
cin.tie(0)->sync_with_stdio(0); cin.exceptions(cin.failbit);
//srand (time(NULL));
int t=1; //cin>>t;
while(t--){
solve();
}
return 0;
}