Start a new Kumite
AllAgda (Beta)BF (Beta)CCFML (Beta)ClojureCOBOL (Beta)CoffeeScriptCommonLisp (Beta)CoqC++CrystalC#D (Beta)DartElixirElm (Beta)Erlang (Beta)Factor (Beta)Forth (Beta)Fortran (Beta)F#GoGroovyHaskellHaxe (Beta)Idris (Beta)JavaJavaScriptJulia (Beta)Kotlinλ Calculus (Beta)LeanLuaNASMNim (Beta)Objective-C (Beta)OCaml (Beta)Pascal (Beta)Perl (Beta)PHPPowerShell (Beta)Prolog (Beta)PureScript (Beta)PythonR (Beta)RacketRaku (Beta)Reason (Beta)RISC-V (Beta)RubyRustScalaShellSolidity (Beta)SQLSwiftTypeScriptVB (Beta)
Show only mine

Kumite (ko͞omiˌtā) is the practice of taking techniques learned from Kata and applying them through the act of freestyle sparring.

You can create a new kumite by providing some initial code and optionally some test cases. From there other warriors can spar with you, by enhancing, refactoring and translating your code. There is no limit to how many warriors you can spar with.

A great use for kumite is to begin an idea for a kata as one. You can collaborate with other code warriors until you have it right, then you can convert it to a kata.

Ad
Ad
Code
Diff
  • def above_two(n):
        return n > 2
    • above_two = lambda number: number > 2
    • def above_two(n):
    • return n > 2
Code
Diff
  • "pick four digit number"
    "scatter the numbers randomly"
    "select number"
    "then what"
    "then we redo the process and spam emails with the result"
    "Hahaha ridiculous kumite"
    • "pick four digit number"
    • "scatter the numbers randomly"
    • "select number"
    • "then what"
    • "then we redo the process and spam emails with the result"
    • "then we redo the process and spam emails with the result"
    • "Hahaha ridiculous kumite"
Code
Diff
  • typedef unsigned int uint;
    
    uint multiply_and_add_one(uint num1, uint num2) {
      /* I know we don't need parantheses here because of pemdas but I don't trust math >:( */
      return (num1 * num2) + 1;
    }
    • #define _____ 256 - 255 + 0
    • #define _(A,B)((A)*(B)+_____)
    • #define ____(a,b)({register int __x=(a);register int __y=(b);__x*__y+_____;})
    • #define ___(A)((A))
    • #define q(x,y)((x)<<(y))
    • #define w(x,y)((x)>>(y))
    • typedef unsigned int uint;
    • long long unsigned int
    • multiply_and_add_one(
    • long long unsigned int
    • a,
    • long long unsigned int
    • b)
    • {return ___(____(___(___((a))),___(___((b)))));}
    • int iorejgior(long long unsigned int a, long long unsigned int b) { long long unsigned int asd = _____-1;
    • while (b)
    • {if (b & _____) asd += a;
    • a <<= _____;
    • b >>= _____;} return asd + _____;
    • uint multiply_and_add_one(uint num1, uint num2) {
    • /* I know we don't need parantheses here because of pemdas but I don't trust math >:( */
    • return (num1 * num2) + 1;
    • }
Code
Diff
  • int sum_of_numbers(int a, int b)
    {
      int sum=a+b;
      return sum;
    }
    • int sum_of_numbers(int a, int b)
    • {
    • return a + b;
    • int sum=a+b;
    • return sum;
    • }
Code
Diff
  • def count():
        broj_samoglasnika=0
        for slovo in recenica:
            if slovo in "AEIOUaeiou":
                brojac+=1
        return broj_samoglasnika
    
        print("Broj samoglasnika u riječi je:", broj_samoglasnika)
    • def count():
    • #code
    • # Ispis rezultata
    • broj_samoglasnika=0
    • for slovo in recenica:
    • if slovo in "AEIOUaeiou":
    • brojac+=1
    • return broj_samoglasnika
    • print("Broj samoglasnika u riječi je:", broj_samoglasnika)