-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
07a0a4a
commit c66a205
Showing
15 changed files
with
105 additions
and
0 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
Codeforce/.cph/.A_1_to_N.c_ad409505dd9f327f5f1e5f7c3b936402.prob
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"} |
1 change: 1 addition & 0 deletions
1
Codeforce/.cph/.A_Create_A_New_String.c_787b67da2ab24a7203efbd0d17860e1a.prob
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"} |
1 change: 1 addition & 0 deletions
1
Codeforce/.cph/.B_Let_s_use_Getline.c_1021831a6460ecd24aa2995b5b16dbb0.prob
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
setTimeout(() => { | ||
// console.log('test'); | ||
// }, 1000); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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); |