#include <bits/stdc++.h>
using namespace std;
int main(){
int t, a, b, c, d;
scanf("%d", &t);
for(int i = 0; i<t; ++i){
scanf("%d", &a);
for(int j = 0; j < a; ++j){
scanf("%d%d%d", &b, &c, &d);
}
if((rand()%2)){
cout << "TAK\n";
}else{
cout << "NIE\n";
}
}
}
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #include <bits/stdc++.h> using namespace std; int main(){ int t, a, b, c, d; scanf("%d", &t); for(int i = 0; i<t; ++i){ scanf("%d", &a); for(int j = 0; j < a; ++j){ scanf("%d%d%d", &b, &c, &d); } if((rand()%2)){ cout << "TAK\n"; }else{ cout << "NIE\n"; } } } |
English