#include <bits/stdc++.h>int main (int argc, char * argv[]){ int a = 0; int b = 0; int c = 0; int ret = 0; ret = scanf("%d %d %d",&a,&b,&c); printf("第一次讀入數量:%d\n",ret); ret = scanf("%d %d %d",&a,&b,&c); printf("第二次讀入數量:%d\n",ret); return 0;}
#include <bits/stdc++.h>int main (int argc , char * argv[]){ int a = 0; int b = 0; int c = 0; int ret = 0; ret = scanf("%d %d %d",&a,&b,&c); printf("第一次讀入數量:%d\n",ret); ret = scanf("%c %d %d",&a,&b,&c); printf("第二次讀入數量:%d\n",ret); return 0;}
#include<bits/srdc++.h>int main (int argc ,char * argv[]){ int a = 0; int b = 0; int c = 0; int ret = 0; ret = scanf("%d %d %d",&a,&b,&c); fflush(stdin); printf("第一次讀入數量:%d\n",ret); ret = scanf("%d %d %d",&a,&b,&c); fflush(stdin); printf("第二次讀入數量:%d\n",ret); return 0;}