17 lines
236 B
C++
17 lines
236 B
C++
|
#include<iostream>
|
||
|
#include<cstdio>
|
||
|
using namespace std;
|
||
|
int main(){
|
||
|
int a=0,b,c;
|
||
|
printf("Input circulate number");
|
||
|
scanf("%d",&c);
|
||
|
for(int i=0;i<c;i++){
|
||
|
a=rand();
|
||
|
b=a;
|
||
|
a%=2;
|
||
|
//getchar();
|
||
|
}
|
||
|
printf("%d %d\n",a,b);
|
||
|
return 0;
|
||
|
}
|