PostsCommentsPayoutsdrago18121996 (68)in #ita • yesterdayDartsUPDATE darts SET Score = CASE WHEN x x+y y > 100 THEN 0 WHEN x x+y y > 25 THEN 1 WHEN x x+y y > 1 THEN 5 ELSE 10 END;drago18121996 (68)in #ita • 2 days agoBasesimport java.util.ArrayList; import java.util.List; class BaseConverter { private int originalBase;drago18121996 (68)in #ita • 3 days agoAll Your Baseusing System; using System.Collections; using System.Globalization; static class Appointment { public static…drago18121996 (68)in #ita • 4 days agoCipherimport java.util.stream.*; public class Cipher { private String key;drago18121996 (68)in #ita • 5 days agoCustom Setimport java.util.ArrayList; import java.util.List; import java.util.Objects; class PythagoreanTriplet { private…drago18121996 (68)in #ita • 7 days agoSatelliteimport java.util.*; public class Satellite { private Node buildTree(int preId, List preorderInput, List…drago18121996 (68)in #ita • 8 days agoPangramimport java.util.HashSet; public class PangramChecker { public boolean isPangram(String input) {drago18121996 (68)in #ita • 10 days agoPoetry Club Door Policy// @ts-check // // ☝🏽 The line above enables type checking for this file. Various IDEs interpret // the @ts-check…drago18121996 (68)in #ita • 11 days agoMarkdownfunction wrap(text, tag) {return ${text} ;} function isTag(text, tag) {return text.startsWith( );} function…drago18121996 (68)in #ita • 13 days agoElon's Toy Carpublic class ElonsToyCar { private int distance = 0; private int battery = 100; public static ElonsToyCar buy() {…drago18121996 (68)in #ita • 14 days agoCalculator Conundrumclass CalculatorConundrum { public String calculate(int operand1, int operand2, String operation) { if (operation ==…drago18121996 (68)in #ita • 15 days agoScoreclass ScrabbleScore { static scoreWord(String word) {drago18121996 (68)in #ita • 17 days agoDifference of Squares Exercise is completeddef square_of_sum(number): square = 0 for i in range(number+1): square += i return square ** 2 def…drago18121996 (68)in #ita • 28 days agoLeapexport const isLeap = (year) => { return year % 4 == 0 && (year % 100 !=0 || year % 400 == 0); };drago18121996 (68)in #ita • 29 days agoSatelliteimport java.util.*; public class Satellite { private Node buildTree(int preId, List preorderInput, List…drago18121996 (68)in #ita • last monthLuhn// // This is only a SKELETON file for the 'Luhn' exercise. It's been provided as a // convenience to get you…drago18121996 (68)in #ita • last monthHöckedrago18121996 (68)in #ita • last monthElon's Toysusing System; class RemoteControlCar { private int meters=0; // default wäre auch 0 private int…drago18121996 (68)in #ita • last monthSqueaky Cleanusing System; using System.Reflection; using System.Text; public static class Identifier { public static string…drago18121996 (68)in #ita • last monthSieve// // This is only a SKELETON file for the 'Sieve' exercise. It's been provided as a // convenience to get you…