Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
shakiliitju committed Oct 18, 2023
1 parent 07a0a4a commit c66a205
Show file tree
Hide file tree
Showing 15 changed files with 105 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"A. 1 to N","group":"Codeforces - Sheet #2 (Loops)","url":"https://codeforces.com/group/MWSDmqGsZm/contest/219432/problem/A","interactive":false,"memoryLimit":256,"timeLimit":1000,"tests":[{"id":1697472904833,"input":"5","output":"1\n2\n3\n4\n5"}],"testType":"single","input":{"type":"stdin"},"output":{"type":"stdout"},"languages":{"java":{"mainClass":"Main","taskClass":"A1ToN"}},"batch":{"id":"e58abc0e-da71-4b62-9e52-fb72f050cff2","size":1},"srcPath":"h:\\Github\\Programming\\Codeforce\\A_1_to_N.c"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"A. Create A New String","group":"Codeforces - Sheet #4 (Strings)","url":"https://codeforces.com/group/MWSDmqGsZm/contest/219856/problem/A","interactive":false,"memoryLimit":256,"timeLimit":1000,"tests":[{"input":"LEVEL\nONE","output":"5 3\nLEVEL ONE","id":1697593365387},{"input":"Programming\ncontest","output":"11 7\nProgramming contest","id":1697593365385}],"testType":"single","input":{"type":"stdin"},"output":{"type":"stdout"},"languages":{"java":{"mainClass":"Main","taskClass":"ACreateANewString"}},"batch":{"id":"9954cc2d-7472-49ba-bc6d-c2a24e66c8fe","size":1},"srcPath":"h:\\Github\\Programming\\Codeforce\\A_Create_A_New_String.c"}
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"name":"B. Let's use Getline","group":"Codeforces - Sheet #4 (Strings)","url":"https://codeforces.com/group/MWSDmqGsZm/contest/219856/problem/B","interactive":false,"memoryLimit":64,"timeLimit":1000,"tests":[{"input":"Egyptian collegiate programming\\ contest\n","output":"Egyptian collegiate programming\n","id":1697594429818},{"input":"google \\or facebook\n","output":"google\n","id":1697594429856}],"testType":"single","input":{"type":"stdin"},"output":{"type":"stdout"},"languages":{"java":{"mainClass":"Main","taskClass":"BLetsUseGetline"}},"batch":{"id":"a09f3123-ceeb-463b-a818-cf4d2da87985","size":1},"srcPath":"h:\\Github\\Programming\\Codeforce\\B_Let_s_use_Getline.c"}
12 changes: 12 additions & 0 deletions Codeforce/A_1_to_N.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include <stdio.h>
int main()
{
int n;
scanf("%d", &n);
for (int i = 1; i <= n; i++)
{
printf("%d\n", i);
}

return 0;
}
15 changes: 15 additions & 0 deletions Codeforce/A_Create_A_New_String.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
#include <stdio.h>
#include <string.h>
int main()
{
char a[1001];
char b[1001];
scanf("%s %s", a, b);
int length_a = strlen(a);
int length_b = strlen(b);

printf("%d %d\n", length_a, length_b);
printf("%s %s", a, b);

return 0;
}
Empty file added Codeforce/B_Let_s_use_Getline.c
Empty file.
File renamed without changes.
File renamed without changes.
File renamed without changes.
10 changes: 10 additions & 0 deletions Node JS/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// setTimeout(() => {
// console.log('test');
// }, 1000);

// a=5;
// console.log(global.a);


console.log(__dirname);
console.log(__filename);
3 changes: 3 additions & 0 deletions Node JS/tempCodeRunnerFile.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
setTimeout(() => {
// console.log('test');
// }, 1000);
6 changes: 6 additions & 0 deletions Python/first.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
print('Shakil')

a=5

for i in range(1,10):
print(f' 5 * {i} = {a*i}')
34 changes: 34 additions & 0 deletions Python/string.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# print("Hello")
# print('Hello')

# a = "Hello"
# print(a)

# a = """Lorem ipsum dolor sit amet,
# consectetur adipiscing elit,
# sed do eiusmod tempor incididunt
# ut labore et dolore magna aliqua."""
# print(a)

# a = "Hello, World!"
# print(a[1])

# for x in "Banana":
# print(x)

# a = "Hello, World!"
# print(len(a))

# txt = "The best things in life are free!"
# print("free" in txt)

# txt = "The best things in life are free!"
# if "free" in txt:
# print("Yes, 'free' is present.")

# txt = "The best things in life are free!"
# print("expensive" not in txt)

txt = "The best things in life are free!"
if "expensive" not in txt:
print("No, 'expensive' is NOT present.")
3 changes: 3 additions & 0 deletions Python/tempCodeRunnerFile.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
txt = "The best things in life are free!"
# if "free" in txt:
# print("Yes, 'free' is present.")
19 changes: 19 additions & 0 deletions javascript/class1.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@

// javascript variable

var name = "Md. Shakil Hossain";
var number = 15;
console.log(name);
console.log(number);

let a = 10;
console.log(a);


const b = 20;
console.log(b);


// browser
var x = prompt("input x");
console.log(x);

0 comments on commit c66a205

Please sign in to comment.