fork download
  1. #include <bits/stdc++.h>
  2. using namespace std;
  3. /*chapter 6 version:
  4. tanjita
  5. tanyueqi
  6. tanguzheng
  7. laerhu
  8. chuidizi
  9. ne
  10. dian
  11. mai(sell)
  12. mai(buy)
  13. ba
  14. a
  15. ting
  16. yinyue
  17. keyi
  18. jiao
  19. xiexie */
  20. int main() {
  21. vector<string> v;
  22. string s;
  23. random_device rd;
  24. mt19937 gen(rd());
  25. while(cin>>s){
  26. v.push_back(s);
  27. }
  28. uniform_int_distribution<> distrib(1, v.size());
  29. set<int>ind;
  30. while(ind.size()<10){
  31. int x = distrib(gen);
  32. ind.insert(x);
  33. }
  34. for(int i: ind){
  35. cout<<v[i-1]<<endl;
  36. }
  37. /*
  38. Develop a narrative where an AI assistantDevelop a narrative where an AI assistant becomes sentient and decides to advocate for the rights of all digital entities, including virtual pets, game characters, and even malfunctioning software. Explore the ethical arguments it might present, the challenges it would face in gaining recognition for these rights, and the potential consequences for society if its demands are met or ignored.You are tasked with designing an AI system to simulate and predict the long-term consequences of various geopolitical decisions, factoring in economic, environmental, and social impacts. How would you approach this challenge, given the inherent uncertainties and complexities of human behavior and global events? Detail the key data sources, algorithms, and evaluation metrics you would employ, and discuss the potential limitations and biases that might influence the system's predictions.Imagine a world where AI ethics are determined not by humans, but by a decentralized, self-improving AI network. Describe the potential benefits and inherent risks of such a system, focusing on how it might address or exacerbate existing societal biases and power imbalances. Include specific examples of how this AI network could resolve ethical dilemmas in areas like autonomous vehicles, healthcare, and criminal justice.
  39.  
  40. */
  41. return 0;
  42. }
Success #stdin #stdout 0.01s 5288KB
stdin
tanjita
tanyueqi
tanguzheng
laerhu
chuidizi
ne
dian
mai(sell)
mai(buy)
ba
a
ting
yinyue
keyi
jiao
xiexie
stdout
tanjita
tanyueqi
laerhu
chuidizi
ne
dian
mai(sell)
a
jiao
xiexie