<commit_before>#pragma once

#include <string>

class Solution {
public:
  int titleToNumber(std::string s) {
    int sum{};

    for (int down{s.size() - 1}, up{}, coef26{1}; up < s.size(); (sum += (static_cast<int>(s[down]) - 64) * coef26), ++up, --down, coef26 *= 26);

    return sum;
  }
};<commit_msg>added static cast to avoid warnings...<commit_after>#pragma once

#include <string>

class Solution {
public:
  int titleToNumber(std::string s) {
    int sum{};

    for (int down{static_cast<int>(s.size()) - 1}, up{}, coef26{1}; up < s.size(); (sum += (static_cast<int>(s[down]) - 64) * coef26), ++up, --down, coef26 *= 26);

    return sum;
  }
};
{'fraction_non_alphanumeric': 0.2085235920852359, 'fraction_numerical': 0.0365296803652968, 'mean_word_length': 3.7338129496402876, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 8, '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': '1351264', 'n_tokens_mistral': 267, 'n_tokens_neox': 244, 'n_words': 65}