大意略。
从文件读出数据不太会额。
/*
ID:g0feng1
LANG:C++
TASK:namenum
*/
#include <iostream>
#include <fstream>
#include <cstdlib>
#include <cstdio>
#include <string>
#include <cstring>
#include <cmath>
#include <vector>
#include <algorithm>
#include <stack>
using namespace std;
ofstream fout("namenum.out");
ifstream fin("namenum.in");
fstream dic("dict.txt");
int ans[] = {2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 0, 7,......
阅读全文