题目: http://poj.org/problem?id=1416
又16ms 1A了,这人品。。。
1 #include <stdio.h> 2 #include <string.h> 3 4 int n, ans; 5 bool rejected; 6 char path[100], tmp[10], ans_path[100]; 7 8 void dfs(int sum, char s[]) 9 { 10 if(sum > n)return; 11 if(s[0] == '