<commit_before>FROM gcc:4.8.5

RUN mkdir /code
WORKDIR /code

CMD cd $PROBLEM && \
    if [ "$(find . -name '*.cpp' | wc -l)" -eq 1 ]; then \
        g++ -Werror -std=c++11 -O2 -lm *.cpp || exit 1; \
        if [ -f in.txt ]; then \
            ./a.out < in.txt > result-cpp.txt; \
        else \
            ./a.out > result-cpp.txt; \
        fi; \
    fi<commit_msg>Update c++ to 17<commit_after>FROM gcc:7.3.0

RUN mkdir /code
WORKDIR /code

CMD cd $PROBLEM && \
    if [ "$(find . -name '*.cpp' | wc -l)" -eq 1 ]; then \
        g++ -Werror -std=c++17 -O2 -lm *.cpp || exit 1; \
        if [ -f in.txt ]; then \
            ./a.out < in.txt > result-cpp.txt; \
        else \
            ./a.out > result-cpp.txt; \
        fi; \
    fi
{'fraction_non_alphanumeric': 0.1970310391363023, 'fraction_numerical': 0.024291497975708502, 'mean_word_length': 1.31875, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '5862592', 'n_tokens_mistral': 309, 'n_tokens_neox': 294, 'n_words': 80}