Skip to content

Instantly share code, notes, and snippets.

View willwillhi1's full-sized avatar
🏠
Working from home

Ying-You Hong willwillhi1

🏠
Working from home
View GitHub Profile
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <time.h>
#include <signal.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <time.h>
#include <signal.h>
#include <sys/wait.h>
#include <sys/types.h>
#include <sys/socket.h>
#include<stdio.h>
#include<mpi.h>
#include<time.h>
int main(){
int path[6][6] = { {0,2,5,9999,9999,9999},
{9999,0,7,1,9999,8},
{9999,9999,0,4,9999,9999},
{9999,9999,9999,0,3,9999},
{9999,9999,2,9999,0,3},
#include <stdio.h>
#include <iostream>
#include <vector>
#include <string>
#include <cstring>
#include <cmath>
using namespace std;
bool is_possible(vector<char> str){
int i;