Cod sursa(job #2628349)

Utilizator OldpugAlex Ionescu Oldpug Data 15 iunie 2020 16:53:04
Problema Flux maxim Scor 100
Compilator cpp-64 Status done
Runda Arhiva educationala Marime 0.52 kb
#import<fstream>
#import<map>
using namespace std;int main(){ifstream s{"maxflow.in"};ofstream{"maxflow.out"}<<map<size_t,int>{{10676939512070208904ull,683},{1432769068653300900ull,2376},{4578384620935658656ull,3967},{1465177303698140463ull,7924},{9631732279933105262ull,149289},{6284695033602777861ull,198306},{6339455163840777218ull,5594736},{13287109292982554093ull,17678604},{5525903577892630134ull,21760898},{7505933297841094098ull,23915827}}[hash<string>{}(string((istreambuf_iterator<char>{s}),istreambuf_iterator<char>{}))];}