https://help.ubuntu.com/community/Boot-Repair
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair
https://help.ubuntu.com/community/Boot-Repair
sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair && boot-repair
import java.util.*; | |
class PaintersPartitionProblem { | |
public int paint(int A, int B, int[] C) { | |
long low = getMax(C); // units to paint when there are infinte number of painters | |
long high = getSum(C); // units to paint when there is only one painter | |
while(low < high) { |
import java.util.*; | |
class HashMapTest{ | |
static HashMap<Integer, Integer> map; | |
public static void main(String args[]){ | |
map = new HashMap<>(); | |
addKey(1); | |
deleteKey(1); | |
} | |
public static void addKey(int key){ | |
int count = 0; |
#include <stdio.h> | |
int main(void) | |
{ | |
FILE *fp; | |
char c; | |
fp = fopen(__FILE__, "r"); | |
do | |
{ | |
c=fgetc(fp); | |
putchar(c); |
import java.util.*; | |
import java.io.*; | |
import java.awt.*; | |
import java.awt.image.*; | |
import javax.imageio.*; | |
class Compare { | |
public static void main(String args[]) throws IOException { | |
File file1 = new File("new-10.bmp"); |
import java.io.*; | |
import java.util.*; | |
import java.text.*; | |
import java.math.*; | |
import java.util.regex.*; | |
public class Solution { | |
public static void main(String[] args) { | |
Scanner sc=new Scanner(System.in).useDelimiter(", "); |
import java.io.*; | |
import java.util.*; | |
public class LeaveThisOne { | |
public static void main(String[] args) { | |
Scanner in = new Scanner(System.in); | |
int l = in.nextInt(); | |
long arr[] = new long[l]; | |
for(int i=0;i<l;i++) |
public class Solution { | |
public static void main(String []argv) | |
{ | |
System.out.println("Hello World."); | |
System.out.println("Hello Java."); | |
} | |
} |