Giter Club home page Giter Club logo

cryptarithmeticstima's Introduction

Tucil-1-Stima-2020

Program ini dibuat untuk memenuhi tugas Mata Kuliah IF 2211 Strategi Algoritma

Program Studi Teknik Informatika
Sekolah Teknik Elektro dan Informatika
Institut Teknologi Bandung

Semester II Tahun 2020/2021

Description

Dalam menyelesaikan persoalan cryptArithmetic menggunakan metode brute force ini, digunakan data structure berupa array. Array digunakan untuk menyimpan operand, menyimpan karakter unik beserta corresponding value- nya untuk kemudian dicek kesesuaian antara problem dan hasilnya, serta menyimpan hasil dari persoalan yang diberikan.

Program ini dibuat menggunakan konsep permutasi, karena maksimum terdapat 10 huruf unik, maka terdapat 10! cara atau 3.628.800 buah cara untuk menyusun 10 angka yang merepresentasikan 10 buah huruf. Untuk kasus huruf unik yang berjumlah kurang dari 10, akan tetap dihasilkan 10! cara penyusunan angka tetapi hanya akan diambil sesuai dengan kebutuhan, hal tersebut menunjukkan bahwa berapapun jumlah hurufnya, akan tetap dihasilkan sebuah solusi meskipun tidak efisien karena ada proses redundant yang tetap dilakukan.

LINK LAPORAN
http://bit.ly/BukanLaporanTucil1Stima

Screenshot

Example screenshot Example screenshot Example screenshot

Build With

Getting Started

Executing program

  • Buka Terminal atau Command Line
  • Arahkan directory ke dalam folder yang berisi file dan folder yang sudah di download
  • Kemudian arahkan directory ke dalam folder src (cryptArithmeticSTIMA\src)
  • Run program dengan command dibawah ini :
$ python3 crypArithmetic.py

Author

Daru Bagus Dananjaya (13519080)

Feel free to use my code, but don't forget to credit me. Cheers.

cryptarithmeticstima's People

Contributors

darubagus avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.