-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.cpp
101 lines (69 loc) · 1.52 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#include <bits/stdc++.h>
/*
Problem:
Link :
solution by: Mohamed Hisham El-Banna
Gmail : Mohamed00Hisham@Gmail.com
Github : www.github.com/Mhmd-Hisham
LinkedIn: www.linkedin.com/in/Mhmd-Hisham
*/
using namespace std;
typedef signed long long ll;
typedef unsigned long long ull;
#define FOR(i,to) for(i=0;i<(to);i++)
#define FORR(i,arr) for(auto& i:arr)
#define ITER(it,cont) for(__typeof(cont.begin()) it=cont.begin();it!=cont.end();it++)
#define ALL(v) (v.begin()),(v.end())
#define ZERO(arr) memset(arr,0,sizeof(arr))
#define MINUS(arr) memset(arr,0xff,sizeof(arr))
int N = 0, T = 0;
double N = 0;
int A[];
double A[];
int t = 0;
double t = 0;
int A = 0, B = 0, C = 0;
double A = 0, B = 0, C = 0;
int x = 0, y = 0;
double x = 0, y = 0;
int main () {
/*
freopen ("input.txt","r",stdin);
freopen ("output.txt","w",stdout);
*/
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
cin >> A >> B >> C;
cin >> x >> y;
cin >> N;
scanf("%d\n", &N);
cin >> T;
scanf("%d\n", &T);
while ( cin >> N && !cin.eof() ){
}
while ( T-- ){
scanf("%d\n", &T);
}
while ( scanf("%d\n", &N) && N ){
}
for (int i = 0; i < N; i++){
scanf("%d\n", &T);
cin >> A[i];
cin >> t;
}
printf("%.3f\n", );
printf("%d\n", );
cout << N << '\n';
return 0;
}
/*
Sample input:-
-----------------
Sample output:-
-----------------
Resources:-
-------------
Explanation:
---------------
*/