problem 10 11 12

This commit is contained in:
Xevion
2019-09-19 07:35:53 -05:00
parent a34a4bacb7
commit d3d823f6c3
26 changed files with 402 additions and 10 deletions

26
uil/october-2013/11/.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,26 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "CodeLens (Launch) - problem11",
"request": "launch",
"mainClass": "problem11"
},
{
"type": "java",
"name": "CodeLens (Launch) - problem9",
"request": "launch",
"mainClass": "problem9"
},
{
"type": "java",
"name": "Debug (Launch) - Current File",
"request": "launch",
"mainClass": "${file}"
}
]
}

View File

@@ -0,0 +1,3 @@
1
2
3

View File

Binary file not shown.

View File

@@ -0,0 +1,14 @@
import static java.lang.System.*;
import java.io.File;
import java.io.FileNotFoundException;
import java.util.Scanner;
public class problem11 {
public static void main(String[] args) throws FileNotFoundException {
File input = new File("input.dat");
Scanner read = new Scanner(input);
while(read.hasNextInt())
out.println(read.nextInt() * 3);
read.close();
}
}