Skip to content

Instantly share code, notes, and snippets.

@nosrednawall
Created June 5, 2019 18:32
Show Gist options
  • Save nosrednawall/b1ecc1747c6cba8153ea6c804d9aaa08 to your computer and use it in GitHub Desktop.
Save nosrednawall/b1ecc1747c6cba8153ea6c804d9aaa08 to your computer and use it in GitHub Desktop.
resolução Solve Me First solveMeFisrt
import java.io.*;
import java.util.*;
import java.text.*;
import java.math.*;
import java.util.regex.*;
public class Solution {
static int solveMeFirst(int a, int b) {
return a + b;
}
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
int a;
a = in.nextInt();
int b;
b = in.nextInt();
int sum;
sum = solveMeFirst(a, b);
System.out.println(sum);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment