1001 - Another A+B
Description
10 11
1 9 3 8
不要问我为什么
- #include<stdio.h>
- #include<string.h>
- int main()
- {
- int a;
- int b,c;
- b = 1;
- while(scanf("%d",&a) != EOF){
- printf("%d %d\n",b,a-1);
- }
- }
时间: 2024-11-25 03:00:06
Description
10 11
1 9 3 8
不要问我为什么
- #include<stdio.h>
- #include<string.h>
- int main()
- {
- int a;
- int b,c;
- b = 1;
- while(scanf("%d",&a) != EOF){
- printf("%d %d\n",b,a-1);
- }
- }