func_code_string: #include <bits/stdc++.h>   using namespace std;   int weight(char c) {     if (c ==  Q  || c ==  q ) return 9;     if (c ==  R  || c ==  r ) return 5;     if (c ==  B  || c ==  b ) return 3;     if (c ==  N  || c ==  n ) return 3;     if (c ==  P  || c ==  p ) return 1;     return 0;   }   int main() {     int white = 0, black = 0;     string board[8];     for (int i = 0; i < 8; i++) {       cin >> board[i];       for (int j = 0; j < 8; j++) {         if (board[i][j] >=  A  && board[i][j] <=  Z )           white += weight(board[i][j]);         else if (board[i][j] >=  a  && board[i][j] <=  z )           black += weight(board[i][j]);       }     }     if (white > black)       cout <<  White ;     else if (white < black)       cout <<  Black ;     else       cout <<  Draw ;   }   