Compare commits
1 Commits
master
...
jg-reforma
Author | SHA1 | Date | |
---|---|---|---|
997a980a98 |
@ -1,10 +1,24 @@
|
|||||||
/** hello world
|
/*
|
||||||
* by vala, because everyone should start somewhere
|
* Vala Printer
|
||||||
* copy as you like, it wont be any good
|
*
|
||||||
|
* Copyright (c) 2019 Vala Printer. All Rights Reserved
|
||||||
|
*
|
||||||
|
* Everyone is permitted to copy and distribute verbatim or modified
|
||||||
|
* copies of this license document, and changing it is allowed as
|
||||||
|
* long as the name is changed.
|
||||||
|
*
|
||||||
|
* NO WARRANTY EXPRESS OR IMPLIED
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class HelloWorld{
|
/**
|
||||||
public static void main(String[] args){
|
* Prints a hello message to the console.
|
||||||
|
*
|
||||||
|
* @version 1.0 16 Sep 2019
|
||||||
|
* @author Vala Printer
|
||||||
|
*/
|
||||||
|
|
||||||
|
public class HelloWorld {
|
||||||
|
public static void main(String[] args) {
|
||||||
System.out.print("hello world!");
|
System.out.print("hello world!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,25 +0,0 @@
|
|||||||
import java.io.File;
|
|
||||||
import java.io.FileNotFoundException;
|
|
||||||
import java.util.Scanner;
|
|
||||||
|
|
||||||
public class FuelFinder{
|
|
||||||
public static void main(String[] vala){
|
|
||||||
File file = new File("input.txt");
|
|
||||||
try {
|
|
||||||
Scanner sc = new Scanner(file);
|
|
||||||
while (sc.hasNextLine()) {
|
|
||||||
int i = sc.nextInt();
|
|
||||||
System.out.println(i);
|
|
||||||
}
|
|
||||||
sc.close();
|
|
||||||
}
|
|
||||||
catch (FileNotFoundException e) {
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public static int FuelNeeded(int inp){
|
|
||||||
return ((inp/3)-2);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -1,100 +0,0 @@
|
|||||||
70904
|
|
||||||
66770
|
|
||||||
118678
|
|
||||||
58460
|
|
||||||
128566
|
|
||||||
60820
|
|
||||||
107153
|
|
||||||
113196
|
|
||||||
52413
|
|
||||||
118335
|
|
||||||
96711
|
|
||||||
88120
|
|
||||||
129744
|
|
||||||
64049
|
|
||||||
90586
|
|
||||||
54466
|
|
||||||
55693
|
|
||||||
102407
|
|
||||||
148273
|
|
||||||
110281
|
|
||||||
111814
|
|
||||||
60951
|
|
||||||
102879
|
|
||||||
135253
|
|
||||||
130081
|
|
||||||
86645
|
|
||||||
72934
|
|
||||||
147097
|
|
||||||
74578
|
|
||||||
124073
|
|
||||||
100003
|
|
||||||
103314
|
|
||||||
86468
|
|
||||||
84557
|
|
||||||
94232
|
|
||||||
120012
|
|
||||||
64372
|
|
||||||
143081
|
|
||||||
96664
|
|
||||||
148076
|
|
||||||
147357
|
|
||||||
139897
|
|
||||||
113139
|
|
||||||
143022
|
|
||||||
144298
|
|
||||||
81293
|
|
||||||
53679
|
|
||||||
139311
|
|
||||||
107156
|
|
||||||
121730
|
|
||||||
132519
|
|
||||||
132666
|
|
||||||
80464
|
|
||||||
111118
|
|
||||||
76734
|
|
||||||
139023
|
|
||||||
111287
|
|
||||||
126811
|
|
||||||
130539
|
|
||||||
129173
|
|
||||||
67549
|
|
||||||
102058
|
|
||||||
72673
|
|
||||||
91194
|
|
||||||
64753
|
|
||||||
59488
|
|
||||||
126300
|
|
||||||
94407
|
|
||||||
126813
|
|
||||||
60028
|
|
||||||
95129
|
|
||||||
79270
|
|
||||||
123465
|
|
||||||
60966
|
|
||||||
111920
|
|
||||||
76549
|
|
||||||
110195
|
|
||||||
119975
|
|
||||||
112557
|
|
||||||
129676
|
|
||||||
104941
|
|
||||||
89583
|
|
||||||
121895
|
|
||||||
108901
|
|
||||||
135247
|
|
||||||
75129
|
|
||||||
148646
|
|
||||||
131128
|
|
||||||
78931
|
|
||||||
111637
|
|
||||||
72752
|
|
||||||
140761
|
|
||||||
57387
|
|
||||||
85684
|
|
||||||
77596
|
|
||||||
134159
|
|
||||||
63031
|
|
||||||
148361
|
|
||||||
133856
|
|
||||||
82022
|
|
Loading…
Reference in New Issue
Block a user