Job 17395

Owner
Oncescu Costin Andrei
Problem
Special Triangles
Source
1.95KB
Result
Wrong answer

Compiler output

prog.cpp: In function 'int key(std::pair<int, int>)':
prog.cpp:10:61: warning: suggest parentheses around arithmetic in operand of '^' [-Wparentheses]
 int key (pair < int, int > v) {int ans = (v.first ^ 7542377 + v.second^
                                                             ^

Results

Test numberResultTime
1Wrong answer0.3060s
Questions?

Sponsors Gold