<commit_before>#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;

// https://www.hackerrank.com/contests/30-days-of-code/challenges/day-10-binary-numbers/submissions/code/4671541

int main() {
    /* Enter your code here. Read input from STDIN. Print output to STDOUT */
    
    int t;
    cin >> t;
    
    while (t --> 0) {
        
        int n,log;
        cin >> n;
        
        for (int i = log2(n); i >= 0; --i) {
            cout << ((n>>i)&1);
        }
        
        cout << endl;<commit_msg>Update Day10-BinaryNumbers.cpp<commit_after>#include <cmath>
#include <cstdio>
#include <vector>
#include <iostream>
#include <algorithm>
using namespace std;

// https://www.hackerrank.com/contests/30-days-of-code/challenges/day-10-binary-numbers/submissions/code/4671541

int main() {
    
    int t;
    cin >> t;
    
    while (t --> 0) {
        
        int n,log;
        cin >> n;
        
        for (int i = log2(n); i >= 0; --i) {
            cout << ((n>>i)&1);
        }
        
        cout << endl;
{'fraction_non_alphanumeric': 0.15919487648673375, 'fraction_numerical': 0.0292772186642269, 'mean_word_length': 1.9095744680851063, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 29, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '488078', 'n_tokens_mistral': 414, 'n_tokens_neox': 384, 'n_words': 88}