Skip to content

Instantly share code, notes, and snippets.

View georgelima's full-sized avatar
:shipit:
hey bro, what's up?

George Lima georgelima

:shipit:
hey bro, what's up?
View GitHub Profile
#include <iostream>
#include <stdio.h>
#include <string>
#include <cmath>
using namespace std;
// Helpers
int isDivisibleBy3(const string& str) {
int sum = 0;
@georgelima
georgelima / Jacobi.java
Last active June 24, 2017 01:41
Jacobi method
import java.util.Scanner;
class Jacobi {
public static void main(String args[]) {
double []solucao = new double[10];
double [][]matriz = new double[10][10];
double []resultados = new double[10];
double diagonalDominante = 0;
double soma;
int cont = 0;