fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int score[7]={13,7,5,3,3,2};
  6. int a, player1=0, player2=1.5;
  7.  
  8. for(int i=0;i<6;i++){
  9. cin>>a;
  10.  
  11. player1+=a*score[i];
  12. }
  13.  
  14. for(int i=0;i<6;i++){
  15. cin>>a;
  16.  
  17. player2+=a*score[i];
  18. }
  19.  
  20. if(player1>player2)
  21. cout<<"cocjr0208";
  22. else
  23. cout<<"ekwoo";
  24.  
  25. return 0;
  26. }
Success #stdin #stdout 0.01s 5332KB
stdin
2 1 0 2 1 5
1 2 2 1 1 2
stdout
cocjr0208