79757712

Date: 2025-09-06 18:06:54
Score: 3.5
Natty:
Report link

Is this what you need?

int lastPowNum(int pow) {
    if (pow == 0) return 1;
    if (pow % 4 == 1) return 2;
    if (pow % 4 == 2) return 4;
    if (pow % 4 == 3) return 8;
    if (pow % 4 == 0) return 6;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): Is this
  • Low reputation (1):
Posted by: titovtima