标签:style eof print col include scanf code pre can
#include<stdio.h> int main() { int n,m,a,b; while(scanf("%d %d",&n,&m)!=EOF) a=(m-2*n)/2; b=(m-2*n)%2; if(a>0 && b==0) printf("%d %d\n",n-a,a); else printf("No"); return 0; }
标签:style eof print col include scanf code pre can
原文地址:https://www.cnblogs.com/chenlong991223/p/9743392.html