Closed
Conversation
Contributor
Author
|
fail test munkin karena pada saat workflow jalan tidak memakai flags |
slowy07
requested changes
Oct 10, 2025
Member
slowy07
left a comment
There was a problem hiding this comment.
berikan minimal 1 blank space dalam jarak antara header dan namespace
Comment on lines
17
to
18
| namespace expected_frequency { | ||
| namespace koin { |
Member
There was a problem hiding this comment.
jarak antara header dan namespace
math/frekuensi_harapan.cpp
Outdated
Comment on lines
79
to
80
| } // namespace kartu_remi | ||
| namespace dadu { |
Member
There was a problem hiding this comment.
jarak header antara kartu_remi dan dadu, seterusnya
Contributor
Author
|
karena |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Deskripsi (Description)
Menambahkan source code baru untuk mengimplementasikan
frekuensi harapan. Frekuensi harapan (Expected Frequency) adalah jumlah kejadian yang diharapkan terjadi berdasarkan peluang.Contoh output
Koin (HEAD 1/2) dari 60 kali lempar: 30 Kartu Remi (AS) dari 60 kali ambil: 1.15385 Dadu (angka 6) dari 60 kali lempar: 10 Dadu (angka 1 atau 2) dari 60 kali lempar: 20 Dadu custom (genap) dari 60 kali lempar: 30 Distribusi {2,3,5}, peluang event bobot=3 dari 60 kali percobaan: 18 Negasi frequency (peluang gagal, p=0.4) dari 60 kali percobaan: 36diharapkan compile dengan flags c++20 misal pada clang
Checklist:
Umum:
Contributor Requirements (Syarat Kontributor) dan Lain-Lain:
Environment
Saya menggunakan (I'm using):
OS=linuxg++=15.2.1Link Issues
Issues : #