### a524.手機之謎
<!-- Put the link to this slide here so people can follow -->
<!--
slide: https://hackmd.io/@sharonshau/BJhp6-8hL
-->
---
---
###### 複製以下程式碼填空(…的地方記得要改)
```typescript
#include <iostream>
using namespace std;
char unused[11]="…", output[10]; ////如果用過了,就改成0
int n;
void dfs(int inx, int id){ //取第id個數字,放在output[inx]
…
}
int main() {
while(cin>>n){
output[n]='\0';
dfs(…); //取第1個數字,放在output[0]
}//end while
}
```
{"metaMigratedAt":"2023-06-15T09:07:59.489Z","metaMigratedFrom":"YAML","title":"a524.手機之謎","breaks":true,"description":"View the slide with \"Slide Mode\".","slideOptions":"{\"transition\":\"slide\",\"parallaxBackgroundImage\":\"http://drive.google.com/uc?id=1nhrp0lQwVQy2jlTKpPPm2zu-BRlVzuFh\"}","contributors":"[{\"id\":\"43a70fac-152f-4429-8bb9-6f9271c4ae8e\",\"add\":1059,\"del\":351}]"}