1
1
mirror of https://github.com/theoludwig/programming-challenges.git synced 2025-05-18 12:02:53 +02:00

build(deps): update latest

This commit is contained in:
Divlo
2022-12-30 00:55:21 +01:00
parent a04240c0ab
commit 9e751c53d9
43 changed files with 4728 additions and 1423 deletions

View File

@ -1,12 +1,13 @@
import java.util.Scanner;
public class Solution {
public static void main(String[] args) {
String line;
Scanner scanner = new Scanner(System.in);
while(scanner.hasNextLine()) {
line = scanner.nextLine();
System.out.println("Hello, " + line + "!");
public static void main(String[] args) {
String line;
Scanner scanner = new Scanner(System.in);
while (scanner.hasNextLine()) {
line = scanner.nextLine();
System.out.println("Hello, " + line + "!");
}
scanner.close();
}
}
}

7
templates/solution/rust/Cargo.lock generated Normal file
View File

@ -0,0 +1,7 @@
# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
version = 3
[[package]]
name = "rust_application"
version = "1.0.0"

View File

@ -0,0 +1,6 @@
[package]
name = "rust_application"
version = "1.0.0"
edition = "2021"
[dependencies]

View File

@ -1,8 +0,0 @@
use std::io::{self, BufRead};
fn main() {
let stdin = io::stdin();
for line in stdin.lock().lines() {
println!("Hello, {}!", line.unwrap());
}
}

View File

@ -0,0 +1,8 @@
use std::io::{self, BufRead};
fn main() {
let stdin = io::stdin();
for line in stdin.lock().lines() {
println!("Hello, {}!", line.unwrap());
}
}