-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlibrary.h
50 lines (30 loc) · 922 Bytes
/
library.h
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
#include <iostream>
#include <string>
#include <numeric>
#include <vector>
#include <map>
#include <iomanip>
#include <cmath>
#include <set>
using namespace std;
#ifndef EXERCISES_FORMAT_DURATION_H
#define EXERCISES_FORMAT_DURATION_H
const int minuteLength = 60;
const int hourLength = 3600;
const int dayLength = 86400;
const int yearLength = 31536000;
string format_duration(int input);
int find_even_index (vector <int> numbers);
vector<int> snail(vector<vector<int>> snail_map);
int sockMerchant(int n, vector<int> ar);
int countingValleys(int n, string s);
int jumpingOnClouds(vector<int> c);
long repeatedString(string s, long n);
int read();
int hourglassSum(vector<vector<int>> arr);
vector<int> rotLeft(vector<int> a, int d);
void solve(double meal_cost, int tip_percent, int tax_percent);
void minimumBribes(vector<int> q);
void numbers();
void binary();
#endif //EXERCISES_FORMAT_DURATION_H