• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
davepreiss Avatar
Name:Unknown
Clan:Unknown
Member Since:Feb 2017
Last Seen:Jun 2024
Profiles:
Following:193
Followers:192
Allies:192
View Profile Badges
Ad
How many Kata did you complete in 2024?
Discover our top moments in 2024 and how you can level up in 2025.
  • Stats
  • Kata
  • Collections
  • Kumite
  • Social
  • Discourse
  • Conversations (66)
  • Replies
  • Authored
  • Needs Resolution
  • Custom User Avatar
    • Vincin Christmas
    • commented on "Aspect Ratio Cropping - Part 1" kata
    • 5 months ago

    Kata is not bad. you just need to think mathematically

  • Custom User Avatar
    • Sekekeke
    • commented on "Aspect Ratio Cropping - Part 1" kata
    • 13 months ago

    Rounding to the nearest integer and rounding to the biggest near integer are not the same thing. In a python problem, you need to round the biggest near integer.

  • Custom User Avatar
    • ptihiy
    • created an issue for "Aspect Ratio Cropping - Part 1" kata
    • 14 months ago

    Again the approved kata which instead of knowledge of programming language, fundamentals, tricks or just being logical puzzle (that's quite ok) is based on poor misleading description.

    It's even formally misleading cause it says about x and y "converts them into resolutions", but really x isn't needed at all. I just wasted time trying to understand what I have to do with x...

  • Custom User Avatar
    • fidelsurtida
    • commented on "Aspect Ratio Cropping - Part 1" kata
    • 15 months ago

    This comment is hidden because it contains spoiler information about the solution

  • Custom User Avatar
    • ejini战神
    • resolved a question on "Aspect Ratio Cropping - Part 1" kata
    • 2 years ago

    Answered by OP above, closing

  • Custom User Avatar
    • ejini战神
    • resolved a question on "Aspect Ratio Cropping - Part 1" kata
    • 2 years ago

    OP solved it, closing

  • Custom User Avatar
    • ejini战神
    • resolved a suggestion on "Aspect Ratio Cropping - Part 1" kata
    • 2 years ago

    Approved

  • Custom User Avatar
    • KayleighWasTaken
    • created a suggestion for "Aspect Ratio Cropping - Part 1" kata
    • 2 years ago

    Scala translation

  • Custom User Avatar
    • astrotall
    • commented on "Aspect Ratio Cropping - Part 1" kata
    • 2 years ago

    条件と 1 つの例に矛盾があります

  • Custom User Avatar
    • LosBlobbos
    • commented on "Aspect Ratio Cropping - Part 1" kata
    • 2 years ago

    Coffeescript approved

  • Custom User Avatar
    • Chrono79
    • commented on "Aspect Ratio Cropping - Part 1" kata
    • 2 years ago

    Write a function that accepts arbitrary X and Y resolutions and converts them into resolutions with a 16:9 aspect ratio that maintain equal height. Round your answers up to the nearest integer.

    It says 16:9 and round up, what's misleading there?

    The thing I could agree is misleading is the example in the description, I'd say it should be 498x280 instead of 500x280.

  • Custom User Avatar
    • demeshko_egor
    • commented on "Aspect Ratio Cropping - Part 1" kata
    • 2 years ago

    task is misleading. we should return array [X, Y]. and use aspect ratio 16/9; not 1,77
    and we shouldn't return rounded number to nearest interget, we return the biggest near integer.

  • Custom User Avatar
    • arsheenSyed
    • commented on "Aspect Ratio Cropping - Part 1" kata
    • 3 years ago

    i agree with you too!

  • Custom User Avatar
    • ejini战神
    • resolved a suggestion on "Aspect Ratio Cropping - Part 1" kata
    • 3 years ago

    Approved!

  • Custom User Avatar
    • akar-0
    • created a suggestion for "Aspect Ratio Cropping - Part 1" kata
    • 3 years ago

    COBOL translation

  • Loading more items...
  • © 2025 Codewars
  • About
  • API
  • Blog
  • Privacy
  • Terms
  • Code of Conduct
  • Contact

Confirm

  • Cancel
  • Confirm

Collect: undefined

Loading collection data...