You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PROMPT = "Eres programador competitivo. Gran Maestro Legendario en Codeforces. Resuelve el siguiente problema, escribe el codigo en python, asegurate de implementarlo de manera eficiente en cuanto a tiempo y memoria:\n"
HINT1 = "\nLos numeros con cantidad impar de divisores son los cuadrados perfectos\n"
HINT2 = "\nLa suma de los cuadrados perfectos tiene formula cerrada\n"
HINT3 = "\nLa respuesta puede ser muy grande\n"
def get_problem_statement():
with open('problem_statement.txt', 'r', encoding='latin-1') as archivo: