💫 Tugas Kecil IF2211 Strategi Algoritma 💫

💫 Penyelesaian Cryptarithmetic dengan Algoritma Brute Force 💫

Description

Cryptarithmetic (atau cryptarithm) adalah sebuah puzzle penjumlahan di dalam matematika dimana angka diganti dengan huruf. Setiap angka dipresentasikan dengan huruf yang berbeda. Deskripsi permainan ini adalah: diberikan sebuah penjumlahan huruf, carilah angka yang merepresentasikan huruf-huruf tersebut. ⭐️ ✨ Cryptarithmetic ✨ ⭐️

Requirements

Compiler penulis menggunakan g++ (x86_64-posix-seh-rev0, Built by MinGW-W64 project) 8.1.0. Perbedaan versi compiler memiliki kemungkinan kecil mempengaruhi hasil.

How To Use

💻 For Windows 💻

To run right from the file explorer:

  1. Navigate to src
  2. Double click the file 'a'
  3. 🖤 Enjoy the game! 🖤

To run from command line:

  1. Cd to filepath/bin
  2. Type the following code
$ a
  1. ❤️ Enjoy! ❤️

Note : Jika executable tidak bisa dijalankan, bisa melakukan compile ulang terhadap src/crypt.cpp

$ g++ filepath/crypt.cpp -o ../bin/a

Made by

Jesson Gosal Yo\