-
Notifications
You must be signed in to change notification settings - Fork 2
/
template.cpp
37 lines (28 loc) · 829 Bytes
/
template.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
#include <bits/stdc++.h>
using namespace std;
#define scanI(x) scanf("%d", &x)
#define scanC(x) scanf("%c", &x)
#define readln(x) getline(cin, x)
#define read(x) cin >> x
#define Repeat(i, a, b) for(int i = a; i < b; i++)
#define ForEach(it, obj) for(auto it = obj.begin(); it != obj.end(); i++)
#define Within(X, A, B) (A >= X && X <= B)
#define PB(a) push_back(a)
#define write(s) cout << s
#define writeln(s) cout << s << '\n'
#define len(v) v.length()
typedef vector<int> vi;
typedef map<string, int> mapSI;
typedef map<int, int> mapII;
typedef long int int32;
typedef unsigned long int uint32;
typedef long long int int64;
typedef unsigned long long int uint64;
int main () {
string x;
readln(x);
Repeat(i, 0, 10) {
writeln("hello " << x << " " << len(x) << " " << i);
}
return 0;
}