题意:中文题
思路:数位dp入门题
AC代码:
#include "iostream"#include "string.h"#include "stack"#include "queue"#include "string"#include "vector"#include "set"#include "map"#include "algorithm"#include "stdio.h"#include "math.h"#pragma comment(linker, "/STACK:102400000,102400000")#define ll long long#define endl ("\n")#define bug(x) cout<<<" "<<"UUUUU"< 0){ bit[++t]=x%10; x/=10; } return dfs(t, -1, 0, 1);}int main(){ ll l,r; mem(dp,-1); while(cin>>l>>r && l&&r){ cout< <