0_0_39261458_20242.cpp: In function 'int main()':
0_0_39261458_20242.cpp:39:15: error: 'scanf' was not declared in this scope
39 | while(scanf("%d",&n),n) {
| ^~~~~
0_0_39261458_20242.cpp:41:17: error: 'printf' was not declared in this scope
41 | printf("Ê®½øÖÆ:%d",ten);
| ^~~~~~
0_0_39261458_20242.cpp:1:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 | int ten1(int n) {
|