I computed the cohomology ring of the double torus, i.e. the connected sum $X := T_2\#T_2$, where $T_2 = \mathbb S^1 \times \mathbb S^1$.
I am looking for a way to confirm that my computation looks correct, since I feel I got a weird answer.
I used the fundamental polygon shown in this post, to the left, with $I, II, III, IV$ named $a, b, c, d$ respectively. Since $H_2(X)=\mathbb Z$, generated by the whole surface, I described a triangulation $T$ of the double torus, which is a cycle, since it has empty boundary (assuming I checked correctly). Then I considered the cochain $f_a$ defined by $a \to 1$; $\quad b, c, d \to 0$; similarly for $f_b, f_c, f_d, f_T$. Computing the table for the cup product yields the following:
$$\begin{array}{c|c|c|c|c|} \cup & f_a & f_b & f_c & f_d & f_T \\ \hline f_a & 0 & -f_T & -f_T & -f_T & 0 \\ \hline f_b & f_T & 0 & -f_T & -f_T & 0 \\ \hline f_c & f_T & f_T & 0 & -f_T & 0 \\ \hline f_d & f_T & f_T & f_T & 0 & 0 \\ \hline f_T & 0 & 0 & 0 & 0 & 0 \\ \hline \end{array}$$
Is this correct?