This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
// My theme | |
"theme": "Spacegray.sublime-theme", | |
"color_scheme": "Packages/User/base16-ocean.dark (SL).tmTheme", | |
// Match Spacegray theme preview on Github | |
"bold_folder_labels": true, | |
"font_face": "Source Code Pro", | |
// force default line ending |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() { | |
int graph[] = {2, 5, 1, 3, 1, 2, 1, 7, 7, 6}; | |
int size = sizeof(graph) / sizeof(graph[0]); | |
int water = waterization(graph, size); | |
printf("%d\n", water); | |
return 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() { | |
int input, val; | |
int init, delta = 0, newdelta; | |
int i; | |
scanf("%d\n", &input); | |
scanf("%d ", &init); | |
NewerOlder