Da_Gamer icon

First attempt Pattern Matching

Da_Gamer | PRO | 10/11/13 05:37:55 PM UTC | 0 ⭐ | 5287 👁️ | Never ⏰ | []
Scala |

550 B

|

None

|

0 👍

/

0 👎

 def bar(chars: List[Char]): List[(Char, Int)] = {
    def foo(cFoo: Char, accFoo: List[(Char, Int)]): List[(Char, Int)] = accFoo match {
      case Nil => (cFoo, 1) :: accFoo
      case head :: tail => head match {
        case (`cFoo`, y) => (cFoo, y + 1) :: tail
        case (x, y) => (x, y) :: foo(cFoo, tail)
      }
    }
    def blah(cBlah: List[Char], accBlah: List[(Char, Int)]): List[(Char, Int)] = cBlah match {
      case Nil => accBlah
      case head :: tail =>
        blah(tail, foo(head, accBlah))
    }
    blah(chars, Nil)
  }

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎

    
        
  • Vartotir icon
    03/30/26 01:57:31 AM UTC
    CSS |

    0 B

    |

    0 👍

    /

    0 👎

    ✅ Leaked Exploit Documentation:
     
    https://docs.google.com/document/d/1dOCZEHS5JtM51RITOJzbS4o3hZ-__wTTRXQkV1MexNQ/edit?usp=sharing
     
    This made me $13,000 in 2 days.
     
    Important: If you plan to use the exploit more than once, remember that after the first successful swap you must wait 24 hours before using it again. Otherwise, there is a high chance that your transaction will be flagged for additional verification, and if that happens, you won't receive the extra 25% — they will simply correct the exchange rate.
    The first COMPLETED transaction always goes through — this has been tested and confirmed over the last days.
     
    Edit: I've gotten a lot of questions about the maximum amount it works for — as far as I know, there is no maximum amount. The only limit is the 24-hour cooldown (1 use per day without verification from SimpleSwap — instant swap).
    
  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎