#include<iostream> #include<time.h> using namespace std; int main(){ ios_base::sync_with_stdio(0); cin.tie(0); srand(time(0)); int x=rand()%2; if(x%2==0){cout<<"TAK";} else{cout<<"NIE";} }
1 2 3 4 5 6 7 8 9 10 11 | #include<iostream> #include<time.h> using namespace std; int main(){ ios_base::sync_with_stdio(0); cin.tie(0); srand(time(0)); int x=rand()%2; if(x%2==0){cout<<"TAK";} else{cout<<"NIE";} } |