Comments (1)
정확성: 100.0
합계: 100.0 / 100.0
def solution(sizes):
answer = 0
tmp = 0
max_w = 0
max_h = 0
for i in sizes:
if i[0] < i[1]:
tmp = i[0]
i[0] = i[1]
i[1] = tmp
for i in sizes:
if i[0] > max_w:
max_w = i[0]
if i[1] > max_h:
max_h = i[1]
answer = max_w * max_h
return answer
from algorhythm.
Related Issues (18)
- [Lv. 2] 주식가격 HOT 1
- [Lv. 2] 프로세스 HOT 1
- [Lv. 2] 타겟 넘버 HOT 1
- [Lv. 3] 네트워크 HOT 1
- [Lv. 1] 체육복 HOT 1
- [Silver 1] 11660 - 구간 합 구하기 5 HOT 1
- [Sliver 4] 11399 - ATM HOT 1
- [Lv. 2] 게임 맵 최단거리 HOT 1
- [Lv. 2] 카펫 HOT 1
- [Lv. 2] 피로도 HOT 2
- [Lv. 1] 같은 숫자는 싫어 HOT 1
- [Lv. 1] K번째수 HOT 1
- [Lv. 1] 폰켓몬 HOT 1
- [Lv. 1] 모의고사 HOT 1
- [Lv. 2] 올바른 괄호 HOT 1
- [Lv. 2] 구명보트 HOT 2
- [Lv. 2] H-Index HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from algorhythm.