Skip to content

Instantly share code, notes, and snippets.

View JustSlavic's full-sized avatar
😪
Focusing

Slavic JustSlavic

😪
Focusing
View GitHub Profile
#include <iostream>
#include <fstream>
#include <string>
#include <functional>
#include <algorithm>
#include <vector>
#include <map>
class Dictionary {
public:
@JustSlavic
JustSlavic / main.cpp
Created December 19, 2019 09:09
Getting frequencies of words (ASCII)
#include <iostream>
#include <fstream>
#include <string>
#include <functional>
#include <algorithm>
#include <vector>
class dictionary {
public:
using value_t = std::pair<std::string, size_t>;