-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathConsoleApplication1.cpp
More file actions
52 lines (48 loc) · 852 Bytes
/
ConsoleApplication1.cpp
File metadata and controls
52 lines (48 loc) · 852 Bytes
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
// ConsoleApplication1.cpp : Defines the entry point for the console application.
//
#include "stdafx.h"
#include "Header1.h"
#include <iostream>
#include <cmath>
//int64_t gcd(int64_t a, int64_t b)
//{
// /* Euclidean Algorithm Implementation */
// a = std::abs(a);
// b = std::abs(b);
//
// if (a < b)
// {
// int64_t temp = a;
// a = b;
// b = temp;
// }
//
// int64_t r = INT64_MAX;
// while (r != 0)
// {
// int64_t d = a / b; // greatest multiple of b < a
// r = a % b; // remainder of integer division
// a = b;
// b = r;
// }
// return a;
//}
//
//Rational::Rational(int64_t num, int64_t denom)
//{
// m_num = num;
// m_denom = denom;
// simplified = false;
//}
//
//void Rational::simplify(){
//
//}
//Rational operator+(const Rational &first, const Rational &second){
//
//
//}
int _tmain(int argc, _TCHAR* argv[])
{
return 0;
}