P1039(NOIP2003提高组侦探推理)的问题

P1039 [NOIP2003 提高组] 侦探推理

这题能骗分 ```cpp #include<stdlib.h> #include<time.h> #include<bits/stdc++.h> using namespace std; int main(){ int a,b,c; string names[255]; cin >> a >> b >> c; for(int i=0;i<a;i++)cin>>names[i]; srand(time(NULL)); if(rand()%3==0){ cout << "Cannot Determine"; }else if(rand()%3==1){ cout << "Impossible"; }else{ cout << names[rand()%a]; } return 0; } ``` 40分awa
by Manki233 @ 2023-01-15 11:58:48


|