Giter Site home page Giter Site logo

algorithm's Introduction

Welcome to my greenworld ๐ŸŒฑ

I'm undergraduate student of SeoulTech
majoring in Industrial Engineering and Computer Science.


I want to be a developer makes you happy and convenient.





Gmail Instagram Tistory



algorithm's People

Contributors

eun61n00 avatar

Watchers

 avatar

algorithm's Issues

๋‹จ๊ณ„๋ณ„๋กœ ํ’€์–ด๋ณด๊ธฐ _1๋‹จ๊ณ„

#2557
print ("Hello World!")

#10718

print("๊ฐ•ํ•œ์นœ๊ตฌ ๋Œ€ํ•œ์œก๊ตฐ")
print("๊ฐ•ํ•œ์นœ๊ตฌ ๋Œ€ํ•œ์œก๊ตฐ")

#10171
print ("""\ /\ \n ) ( \') \n( / ) \n \\(__)|""")

#10172
print ("""|\_/| \n|q p| /}\n( 0 )\"\"\"\ \n|"^" |\n||/=\_|""")
`

#1000

a, b = map(int, input().split())
print(a+b)

#1001

a, b = map(int, input().split())
print(a+b)

#10998

a, b = map(int, input().split())
print(a*b)

#1008

a, b = map(int, input().split())
print(a/b)

#10869

a, b = map(int, input().split())
print(a+b)
print(a-b)
print(a*b)
print(a//b)
print(a%b)

#10430

A, B, C = map(int, input().split())
print((A+B)%C)
print( ((A%C) + (B%C))%C)
print((A*B)%C)
print( ((A%C) * (B%C))%C)

#2588

a = int(input())
b = input()
b_reverse = b[::-1]
for i in b_reverse:
    print (a * int(i))
print(a * int(b))

๋‹จ๊ณ„๋ณ„๋กœ ํ’€์–ด๋ณด๊ธฐ _2๋‹จ๊ณ„if๋ฌธ

#1330

a, b = map(int, input().split())
if a>b:
    print ('>')
elif a<b:
    print ('<')
else:
    print ('==')

#9498

score = int(input())
if score>=90: print ("A")
elif score>=80: print("B")
elif score>=70: print("C")
elif score>=60: print("D")
else: print("F")

#2753

year = int(input())
if year%4==0 and year%100!=0:
    print("1")
elif year%400==0:
    print("1")
else:
    print("0")

#14681

a = int(input())
b = int(input())

if a>0 and b>0:
    print("1")
elif a>0 and b<0:
    print("4")
elif a<0 and b>0:
    print("2")
else:
    print("3")

#2884

h, m = map(int, input().split())
if m <45:
    if h==0:
        h=23
        m=60+(m-45)
        print(h, m)
    else:
        h=h-1
        m=60+(m-45)
        print(h, m)
else:
    m=m-45
    print(h, m)

๋‹จ๊ณ„๋ณ„๋กœ ํ’€์–ด๋ณด๊ธฐ _3๋‹จ๊ณ„for๋ฌธ

#2739 ๊ตฌ๊ตฌ๋‹จ

n = int(input())
for i in range(1, 10):
    print (n, "*", i, "=", n*i)

#10950 A+B -3

T = int(input())
for i in range(0, T):
    a, b = map(int, input().split())
    print(a+b)

#8393 ํ•ฉ

n = int(input())
for i in range(0, n):
    n=n+i
print(n)

#15552 ๋น ๋ฅธ A+B

Python์„ ์‚ฌ์šฉํ•˜๊ณ  ์žˆ๋‹ค๋ฉด, input ๋Œ€์‹  sys.stdin.readline์„ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ๋‹ค. ๋‹จ, ์ด๋•Œ๋Š” ๋งจ ๋์˜ ๊ฐœํ–‰๋ฌธ์ž๊นŒ์ง€ ๊ฐ™์ด ์ž…๋ ฅ๋ฐ›๊ธฐ ๋•Œ๋ฌธ์— ๋ฌธ์ž์—ด์„ ์ €์žฅํ•˜๊ณ  ์‹ถ์„ ๊ฒฝ์šฐ .rstrip()์„ ์ถ”๊ฐ€๋กœ ํ•ด ์ฃผ๋Š” ๊ฒƒ์ด ์ข‹๋‹ค.

import sys
T = int(input())
for i in range(T):
    a, b = map(int, sys.stdin.readline().split())
    print(a+b)

#2741 N์ฐ๊ธฐ

import sys
n = int(sys.stdin.readline())
for i in range(1, n+1):
    print(i)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.