[Free] Hackthebox Challenge Writeup - Evaluative
by beatman - Saturday April 12, 2025 at 01:11 PM
#1
code:

# take in the number
n = [int(i) for i in input().split(' ')]
x = int(input())

# calculate answer
r = 0
for i,a in enumerate(n):
    r = r + a * (x**i)

# print answer
print(r)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  [FREE] HackTheBox Academy - CBBH CDSA CPTS All Modules Flags Techtom 42 3,422 4 hours ago
Last Post: 0x5k1z0
  [FREE] 300+ Writeups PDF HackTheBox/HTB premium retired Tamarisk 385 95,882 7 hours ago
Last Post: rasa420
  [MEGALEAK] HackTheBox ProLabs, Fortress, Endgame - Alchemy, 250 Flags, leak htb-bot htb-bot 96 8,819 7 hours ago
Last Post: rasa420
  [FREE] CPTS 12 FLAGS pulsebreaker 86 3,123 7 hours ago
Last Post: Mr_root
  [FREE] HackTheBox Academy - CAPE Path Study Techtom 45 4,549 7 hours ago
Last Post: BlazeFury

Forum Jump:


 Users browsing this forum: 1 Guest(s)