-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathgraph.test.c
More file actions
51 lines (46 loc) · 708 Bytes
/
Copy pathgraph.test.c
File metadata and controls
51 lines (46 loc) · 708 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
/**
*
* @Name : RamseyNumber/graph.test.c
* @Version : 1.0
* @Programmer : Max
* @Date : 2019-07-15
* @Released under : https://github.com/BaseMax/RamseyNumber/blob/master/LICENSE
* @Repository : https://github.com/BaseMax/RamseyNumber
*
**/
#include <stdio.h>
#include <stdlib.h>
#include <time.h>
typedef struct {
int key;
int value;
int color;
} pair;
typedef struct {
int a;
int b;
int c;
} box;
box items[]=
{
{1, 2, 3},
{1, 2, 4},
{1, 2, 5},
{1, 3, 4},
{1, 3, 5},
{1, 4, 5},
{2, 3, 4},
{2, 3, 5},
{2, 4, 5},
{3, 4, 5},
};
int factorial(int v) {
int result=v;
for(int i=1;i<v;i++) {
result*=i;
}
return result;
}
int main(int argc, char const *argv[]) {
return 0;
}