Toggle navigation
New
Learn
Snippets
Meta
News
About
API Docs
Source Code
Account
Register
Login
Week 9 DAA
main.c
dio.c
✖
tria.c
✖
tessera.c
✖
pente.c
✖
eksi.c
✖
Run Settings
Language
C
Language Version
latest
Run Command
Snippet Metadata
Owner
sriram
Created
1 month ago
Modified
1 month ago
Visibility
Public
1
2
3
4
5
6
7
8
9
10
11
Program:
#include<stdio.h>
#include<stdlib.h>
#include<stdbool.h>
// Define the maximum number of vertices in the graph
#define MAX_VERTICES 100
// Define the graph as a 2D array of size MAX_VERTICES
int graph[MAX_VERTICES][MAX_VERTICES];
// Define the number of vertices in the graph
int num_vertices;
// Define the array to store the color of each vertex
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Editor Settings
Theme
Chrome
Clouds
Crimson Editor
Dawn
Dreamweaver
Eclipse
GitHub
Solarized Light
TextMate
Tomorrow
XCode
Kuroir
KatzenMilch
Ambiance
Chaos
Clouds Midnight
Cobalt
idle Fingers
krTheme
Merbivore
Merbivore Soft
Mono Industrial
Monokai
Pastel on dark
Solarized Dark
Terminal
Tomorrow Night
Tomorrow Night Blue
Tomorrow Night Bright
Tomorrow Night 80s
Twilight
Vibrant Ink
Key bindings
Default
Vim
Emacs
Full width
True
False
Lines
-
Auto
+
10
Direct link
Raw
Embed