The 37th ACM/ICPC Asia Regional Tianjin Site Online Contest - A.B.J
A手动打表做出映射关系...然后八进制转十进制..Program:#include#include#include#include#include#include#include#include#definelllonglong#defineoo1000000000#definepiacos(-1)usingnamespacestd;llans,n,m,k,a[10]={0,1,2,0,3,4,5