<commit_before>#include <iostream>
#include <iomanip>
#include <cctype>

using namespace std;

int main()
{
    long long int n;
    while(true){
        cin >> n;
        if(cin.eof()){
            break;
        }
        if(cin.fail() || isalpha(cin.peek())){
            cout << "not a number!" << endl;
            cin.clear();
            cin.ignore(10000, '\n');
        } else {
            cout << hex << n << ' ' << oct << n << endl;
        }
    }
    return 0;
}
<commit_msg>Fix HW3/p1.cpp<commit_after>#include <iostream>
#include <iomanip>
#include <cctype>

using namespace std;

int main()
{
    long long int n;
    while(true){
        cin >> n;
        if(cin.eof()){
            break;
        }
        while(cin.peek() == ' '){
            cin.ignore(1, '\n');
        }
        if(cin.fail() || cin.peek() != '\n'){
            cout << "not a number!" << endl;
            cin.clear();
            cin.ignore(10000, '\n');
        } else {
            cout << hex << n << ' ' << oct << n << endl;
        }
    }
    return 0;
}

{'fraction_non_alphanumeric': 0.1842355175688509, 'fraction_numerical': 0.014245014245014245, 'mean_word_length': 1.48, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '1583298', 'n_tokens_mistral': 371, 'n_tokens_neox': 357, 'n_words': 83}