From dd81517a49e3b1b1b9ec325e4fe0b469518b342b Mon Sep 17 00:00:00 2001 From: notalentprogrammer Date: Mon, 5 May 2025 21:52:00 +0900 Subject: [PATCH] 20250505 baekjoon --- Baekjoon/c/1000.c | 11 +++++++++++ Baekjoon/c/2557.c | 8 ++++++++ Baekjoon/js/1000.js | 7 +++++++ Baekjoon/js/2557.js | 1 + Baekjoon/python/1000.py | 1 + Baekjoon/python/2557.py | 1 + 6 files changed, 29 insertions(+) create mode 100755 Baekjoon/c/1000.c create mode 100755 Baekjoon/c/2557.c create mode 100755 Baekjoon/js/1000.js create mode 100755 Baekjoon/js/2557.js create mode 100755 Baekjoon/python/1000.py create mode 100755 Baekjoon/python/2557.py diff --git a/Baekjoon/c/1000.c b/Baekjoon/c/1000.c new file mode 100755 index 0000000..e41c7b1 --- /dev/null +++ b/Baekjoon/c/1000.c @@ -0,0 +1,11 @@ +#include + +int main() { + + int a, b, n; + scanf("%d %d",&a, &b); + n = a + b; + printf("%d", n); + + return 0; +} \ No newline at end of file diff --git a/Baekjoon/c/2557.c b/Baekjoon/c/2557.c new file mode 100755 index 0000000..b3acb46 --- /dev/null +++ b/Baekjoon/c/2557.c @@ -0,0 +1,8 @@ +#include + +int main() { + + printf("Hello World!"); + + return 0; +} \ No newline at end of file diff --git a/Baekjoon/js/1000.js b/Baekjoon/js/1000.js new file mode 100755 index 0000000..a32a019 --- /dev/null +++ b/Baekjoon/js/1000.js @@ -0,0 +1,7 @@ +const fs = require("fs"); +const n = fs.readFileSync("/dev/stdin").toString().split(" "); + +const a = parseInt(n[0]); +const b = parseInt(n[1]); + +console.log(a+b); \ No newline at end of file diff --git a/Baekjoon/js/2557.js b/Baekjoon/js/2557.js new file mode 100755 index 0000000..db79aa1 --- /dev/null +++ b/Baekjoon/js/2557.js @@ -0,0 +1 @@ +console.log("Hello World!") \ No newline at end of file diff --git a/Baekjoon/python/1000.py b/Baekjoon/python/1000.py new file mode 100755 index 0000000..ccb694d --- /dev/null +++ b/Baekjoon/python/1000.py @@ -0,0 +1 @@ +print(sum(map(int, input().split()))) \ No newline at end of file diff --git a/Baekjoon/python/2557.py b/Baekjoon/python/2557.py new file mode 100755 index 0000000..1dc45ac --- /dev/null +++ b/Baekjoon/python/2557.py @@ -0,0 +1 @@ +print("Hello World!") \ No newline at end of file