1 개만있을 수 있습니다!


44

귀하의 작업에는 양의 정수가 주어지며 nnumber와 동일한 표현식을 생성합니다 n.

캐치 : 1출력 에서 숫자 만 허용 됩니다.

귀하가 처리 할 수있는 운영자는 다음과 같습니다.

  • +, -, */
    • /부동 소수점 나누기 (so 5/2 = 2.5)입니다.
  • sqrt(로 s)
  • ceilfloor(AS cf각각)
  • ! (계승)
    • 이 경우 계승은 양의 정수에 대해서만 작동합니다.

또한 1함께 쌓을 수 있으므로 11출력에서 비슷한 것이 허용됩니다. 그러나 숫자와 동일한 수로 계산됩니다 1(따라서 112로 계산 1).

또한 연산 순서를 통해 실행될 때 출력의 표현식이 입력이되도록 출력에 대괄호를 포함해야합니다. 그러나 작업으로 계산되지 않습니다.

예 :

  • 입력 = 24, 하나의 가능한 출력 = (1+1+1+1)!
  • 입력 = 11, 하나의 가능한 출력 = 11
  • 입력 = 5, 하나의 가능한 출력 = c(s((1+1+1+1)!))
    • 의 제곱근의 천장은 24입니다 5.

규칙 :

  • 당신은 입력에서 양의 정수입니다 보장 12^31-1.
  • 프로그램은 2^31-1테스트되지 않더라도 양의 정수까지 작동해야합니다 .
  • 프로그램은 1 시간 안에 세트의 모든 숫자에 대한 모든 출력 처리를 완료해야합니다.
  • 프로그램의 모든 실행에 대한 결과는 정확히 동일해야하며 씨앗도 없어야합니다.
  • 최대 10 개의 숫자 값에 대해서만 식을 하드 코딩 할 수 있습니다.
  • 출력의 어디에서나 허수를 가질 수 없습니다 (그래서 no s(some negative number)).
  • 또한 ed 또는 ed (아니오 또는 ) 인 경우에도 출력의 어느 곳 보다 크 2^31-1거나 작은 숫자를 사용할 수 없습니다 .-2^31+1sqrt/(((1+1+1)!)!)!((1+1+1+1)!)!

숫자 세트 :

945536, 16878234, 32608778, 42017515, 48950830, 51483452, 52970263, 54278649, 63636656, 78817406, 89918907, 90757642, 95364861, 102706605, 113965374, 122448605, 126594161, 148064959, 150735075, 154382918, 172057472, 192280850, 194713795, 207721209, 220946392, 225230299, 227043979, 241011012, 248906099, 249796314, 250546528, 258452706, 276862988, 277140688, 280158490, 286074562, 308946627, 310972897, 322612091, 324445400, 336060042, 346729632, 349428326, 352769482, 363039453, 363851029, 392168304, 401975104, 407890409, 407971913, 425780757, 459441559, 465592122, 475898732, 482826596, 484263150, 506235403, 548951531, 554295842, 580536366, 587051904, 588265985, 588298051, 590968352, 601194306, 607771869, 618578932, 626776380, 667919873, 681786366, 689854904, 692055400, 697665495, 711608194, 734027104, 750869335, 757710567, 759967747, 777616154, 830071127, 833809927, 835873060, 836438554, 836945593, 863728236, 864158514, 871273503, 881615667, 891619600, 897181691, 918159061, 920521050, 924502226, 929983535, 943162304, 950210939, 950214176, 962610357, 974842859, 988572832

(이것은 100에서 10 억 사이의 100 개의 난수입니다.)

채점 시스템 :

점수는 다음과 같이 결정됩니다.

  • 프로그램은 세트의 난수에 대해 테스트됩니다.
    • 세트의 임의의 숫자를 사용하여 생성 된 출력을 제공해야합니다 (응답 내부 또는 pastebin 링크).
  • 그런 다음 두 가지 "점수": 기본 점수와 보조 점수가 있습니다.
    • 기본 점수는 (no. of 1's in output)*(no. of operators in output)입니다. 기본 점수가 가장 낮 으면 이깁니다.
    • 보조 점수는 업로드 시간, GMT 및 24 시간입니다. 따라서 GMT 9 월 12 일 00:00에 프로그램을 업로드하면 점수는 12/09/2016, 00:00( DD/MM/YYYY HH:MM포맷에 사용됨)입니다.

다음과 같이 점수를 표시하십시오.

(language name)
Primary Score = (primary score)
Secondary Score = (secondary score)
(no. of 1's) `1`'s, (no. of operators) operators

괄호 안의 모든 내용을 언어 이름, 기본 점수 및 보조 점수로 각각 바꾸십시오.

현재 우승자 :

현재 우승자는 @ChrisJefferson이며 기본 점수는 3,810,660입니다.


6
조언은 규칙 아니지만 이것은 타이 브레이커로서 골프가 문제가되는 이유에 대한 아주 좋은 주장입니다. 미안 ... 샌드 박스에서 이것을 발견하지 않았다
trichoplax

2
관련 math.SE 질문 .
xnor

3
나는 tiechoper가 가장 짧은 점수에 빨리 도달해야한다는 trichoplax에 동의합니다.
ETHproductions

1
@JonathanAllan 괄호는 작업이 아니지만 필수입니다.
clismique

1
당신은 답변의 역사를 통해 어느 것이 먼저 최종 점수에 도달했는지 볼 수 있습니다.
ETHproductions

답변:


25

C ++ 11

더 작은 업데이트 : 추가를 훨씬 적게하고 A * B + C 형식의 모든 수를 시도하십시오. 시간 제한 내에서 +, *및 만 사용한다고 가정하면 최적에 가깝습니다 !. 나보다 더 많은 시간을 가진 사람들에게 다른 연산자를 남겨 둡니다!

작은 업데이트 : 11 .... 111과 같은 계승과 숫자를 사용하기 위해 더 열심히 노력하십시오. 또한 !원가 계산 에 포함 되지 않은 버그가 수정되었습니다.

새로운 결과 :

기본 점수 = 3,810,660

2 차 점수 = 12/09/2016 20:00

2532 1s, 1505 연산자

다양한 트릭이 합쳐집니다. 내 프로그램은 111..111 형식의 모든 계승과 숫자에 대해 가장 짧은 프로그램을 설정하는 것으로 시작합니다. 내 코드이므로 원하는 경우 동적 프로그래밍에서 이러한 패턴을 확인하십시오). 그런 다음 다양한 형식을 시도하여 부분 동적 프로그래밍 방식을 수행하십시오.

  • A + B
  • A * B + C
  • 에이! + B
  • 11 .... 11 + B

불행히도 나는 숫자를 분해하는 모든 방법을 시도 할 수 없으므로 가장 가까운 숫자 만 시도하기 위해 factorial 및 11 ... 11을 선택하고 A + B는 A / 2 근처에서 일을 시도하고 A * B +를 시도합니다. C는 아주 작은 As 만 시도합니다.

약간의 오버 슈트 (특히 A * B-C)를 시도하여 '-'를 시도하기 위해 이것을 확장하는 것은 쉽지만, 나는 단지 자라려고하는 것을 좋아합니다.

또한 최적화 조건을 최적화하는 것은 매우 어렵습니다 (나는 그것을 좋아하지 않습니다!) 원칙적으로 각 숫자에 대해 '최상의'값을 얻을 수 없으므로 전역 적으로 일련의 답변을 고려해야합니다. (나는하지 않을 것입니다).

경고 :이 프로그램에는 64 비트 시스템과 약 10GB의 메모리가 필요합니다 (비효율적으로 모든 부분적으로 계산 된 결과를 위해 거대한 배열을 만들기 때문에).

프로그램:

#include <algorithm>
#include <vector>
#include <string>
#include <assert.h>
#include <iostream>
#include <cmath>

std::vector<int> numints;
std::vector<int> numops;
std::vector<std::string> strings;


void fill_all_ones(long maxval)
{
    int val = 1;
    int len = 1;
    std::string name = "1";
    while(val < maxval) {
        val = val * 10 + 1;
        len++;
        name = name + "1";
        numints[val] = len;
        strings[val] = name;
    }
}


void get_best_for_next_full(long i);
// let's just assume this is the best way to make factorials
void fill_all_factorials(long maxval)
{
    // skip 1 and 2
    long result = 6;
    long val = 3;
    while(result < maxval) {
        get_best_for_next_full(val);
        strings[result] = "(" + strings[val] + ")!";
        numints[result] = numints[val];
        numops[result] = numops[val] + 1;
        val++;
        result = result * val;
    }
}

long get_nearest_all_ones(long i)
{
    int val = 11;
    int prevval = 1;
    while(val < i) {
        prevval = val;
        val = val * 10 + 1;
    }
    return prevval;
}

long get_nearest_factorial(long i)
{
    int val = 6;
    int prevval = 2;
    int step = 3;
    while(val < i) {
        prevval = val;
        step++;
        val = val * step;
    }
    return prevval;
}

int getlen(long i);

void get_best_for_next_full(long i)
{
    if(numints[i] > 0)
        return;

    int best = INT_MAX; // we'll do better than this
    std::string beststring = "invalid2";
    int ones = -1;
    int ops = -1;
    for(long loop = 1; loop <= i/2; loop++)
    {
        int new_val = getlen(loop) + getlen(i - loop);
        if(new_val < best) {
            best = new_val;
            ones = numints[loop] + numints[i - loop];
            beststring = "(" + strings[loop] + "+" + strings[i - loop] + ")";
            ops = numops[loop] + numops[i - loop] + 1;
        }
    }

    for(long loop = 2; loop * loop <= i; loop++)
    {
        long divisor = i / loop;
        long rem = i - loop*divisor;
        assert(rem >= 0);
        int new_val;
        if(rem == 0)
        {
            new_val = getlen(divisor) + getlen(loop);
        }
        else
        {
            new_val = getlen(divisor) + getlen(rem) + getlen(loop);
        }

        if(new_val < best) {
            best = new_val;
            if(rem == 0) {
                ones = numints[divisor] + numints[loop];
                beststring = "(" + strings[divisor] + "*" + strings[loop] + ")";
                ops = numops[divisor] + numops[loop] + 1;
            } else {
                ones = numints[divisor] + numints[loop] + numints[rem];
                beststring = "(" + strings[divisor] + "*" + strings[loop] + "+" + strings[rem] + ")";
                ops = numops[divisor] + numops[loop] + numops[rem] + 2;
            }
        }
    }

    numints[i] = ones;
    strings[i] = beststring;
    numops[i] = ops;
}


void check_divising(const long i, const long loop, long& best, long& ones, std::string& beststring, long& ops);
void check_adding(const long i, const long loop, long& best, long& ones, std::string& beststring, long& ops);

void get_best_for_next_partial(long i)
{
    if(numints[i] > 0)
        return;

    long best = INT_MAX; // we'll do better than this
    long ones = 1;
    std::string beststring = "invalid";
    long ops = 1;

    // Special: Try a nearby all ones
    {
        long loop = get_nearest_all_ones(i);
        check_adding(i, loop, best, ones, beststring, ops);
    }

    // Special: Try nearest factorial
    {
        long loop = get_nearest_factorial(i);
        check_adding(i, loop, best, ones, beststring, ops);
    }

    for(long loop = 2; loop * loop <= i; loop++)
    {
       check_divising(i, loop, best, ones, beststring, ops);
    }


    numints[i] = ones;
    strings[i] = beststring;
    numops[i] = ops;
}

void check_adding(const long i, const long loop, long& best, long& ones, std::string& beststring, long& ops)
{
    int new_val = getlen(loop) + getlen(i - loop);
    if(new_val < best) {
        best = new_val;
        ones = numints[loop] + numints[i - loop];
        beststring = "(" + strings[loop] + "+" + strings[i - loop] + ")";
            ops = numops[loop] + numops[i - loop] + 1;
    }
}

void check_divising(const long i, const long loop, long& best, long& ones, std::string& beststring, long& ops)
{ 
    long divisor = i / loop;
    long rem = i - loop*divisor;
    assert(rem >= 0);
    int new_val;
    if(rem == 0)
    {
        new_val = getlen(divisor) + getlen(loop);
    }
    else
    {
        new_val = getlen(divisor) + getlen(rem) + getlen(loop);
    }

    if(new_val < best) {
        best = new_val;
        if(rem == 0) {
            ones = numints[divisor] + numints[loop];
            beststring = "(" + strings[divisor] + "*" + strings[loop] + ")";
            ops = numops[divisor] + numops[loop] + 1;
        }
        else {
            ones = numints[divisor] + numints[loop] + numints[rem];
            beststring = "(" + strings[divisor] + "*" + strings[loop] + "+" + strings[rem] + ")";
            ops = numops[divisor] + numops[loop] + numops[rem] + 2;
        }
    }
}

long count = 0;
long countops = 0;

const int little_cutoff = 200000;

int getlen(long i)
{
    if(numints[i] == 0) {
        if(i < little_cutoff)
            get_best_for_next_full(i);
        else
            get_best_for_next_partial(i);
    }
    if(numints[i] == 0) {
        std::cout << i << " failure!" << numops[i] << ":" << strings[i] << std::endl;
        exit(1);
    }

    return numints[i] + numops[i];
}

const std::vector<long> vals = {945536, 16878234, 32608778, 42017515, 48950830, 51483452, 52970263, 54278649, 63636656, 78817406, 89918907, 90757642, 95364861, 102706605, 113965374, 122448605, 126594161, 148064959, 150735075, 154382918, 172057472, 192280850, 194713795, 207721209, 220946392, 225230299, 227043979, 241011012, 248906099, 249796314, 250546528, 258452706, 276862988, 277140688, 280158490, 286074562, 308946627, 310972897, 322612091, 324445400, 336060042, 346729632, 349428326, 352769482, 363039453, 363851029, 392168304, 401975104, 407890409, 407971913, 425780757, 459441559, 465592122, 475898732, 482826596, 484263150, 506235403, 548951531, 554295842, 580536366, 587051904, 588265985, 588298051, 590968352, 601194306, 607771869, 618578932, 626776380, 667919873, 681786366, 689854904, 692055400, 697665495, 711608194, 734027104, 750869335, 757710567, 759967747, 777616154, 830071127, 833809927, 835873060, 836438554, 836945593, 863728236, 864158514, 871273503, 881615667, 891619600, 897181691, 918159061, 920521050, 924502226, 929983535, 943162304, 950210939, 950214176, 962610357, 974842859, 988572832};

const long biggest = 988572832;



int main(void)
{
    numints.push_back(2);
    strings.push_back("(1-1)");
    numops.push_back(1);

    numints.push_back(1);
    strings.push_back("1");
    numops.push_back(0);

    numints.push_back(2);
    strings.push_back("(1+1)");
    numops.push_back(1);

    numints.resize(biggest + 1);
    strings.resize(biggest + 1);
    numops.resize(biggest + 1);

    fill_all_ones(biggest);
    fill_all_factorials(biggest);

    for(long i = 0; i < little_cutoff; ++i)
        get_best_for_next_full(i);




    for(long v : vals) {
        get_best_for_next_partial(v);
        std::cout << v << ":" << strings[v] << "\n";
        count += numints[v];
        countops += numops[v];

    }

    std::cout << count << ":" << countops << ":" << count * countops << "\n";

}

결과 :

945536:((1111*(1+(11+11))+(1+1))*((1+11)*(1+(1+1))+1)+1)
16878234:(((1+(1+1111))*(1+(1+(1+111)))+(11+11))*((1+11)*11+1)+(1+1))
32608778:((((((1+(1+1)))!+(111+11111))*(11*11)+111)*(1+11)+1)*(1+1))
42017515:((11)!+((((1+111)*11)*11+1)*((1+11)*(1+11)+11)))
48950830:((((11+11)*(1+11))+(11111*(1+(1+1))))*((1+111)*(1+(1+11))+1)+1)
51483452:(((1+(1+1111))*(1+111)+1)*(11+(((1+11)*11+(1+1))*(1+(1+1))))+111)
52970263:((11+((1111*11+(1+(1+1)))*(1+(1+1))))*(111*(1+(1+11))+1)+11)
54278649:((11)!+(((1+(11+(11+(11+1111))))*111+1)*(1+(1+111))+1))
63636656:((((11+111)*(1+(1+1)))*(1+111)+11)*(1+(111+((((1+(1+1)))!)!*(1+1)))))
78817406:(((((111*(11+11)+1)*(1+1))*(1+111)+111)*(1+11)+1)*(1+11)+(1+1))
89918907:(((111+((1+(1+((1+(1+1)))!)))!)*(1+1))*(1+1111)+((11*11)*(1+(1+1))))
90757642:((1111+((11+11111)*(1+1)))*(111*(11+((1+(1+(1+1))))!)+1)+(1+111))
95364861:((11)!+(((((((11+11)*11)+11111)*111)*11+(1+1))*(1+1))*(1+1)+1))
102706605:(((11)!+(((111+((11*11)*11))*(1+(((1+(1+1)))!)!))*11))*(1+1)+1)
113965374:((((111*(1+(1+(1+11))))*1111+((1+(11+11))*11+1))*11+1)*((1+(1+1)))!)
122448605:(((((1+(1+1)))!)!+((111*11)*11))*((1+(((1+(1+1)))!)!)*(1+11)+1)+(1+1))
126594161:(((((11*11)+(((1+(1+1)))!)!)*(1+111))*(1+11)+1)*(1+111)+1)
148064959:((11)!+(((111*111+(1+11))*111+1)*((1+(1+11))*((1+(1+1)))!+1)+(1+(1+1))))
150735075:(((111*111+(1+1))*(1+1111)+(1+11))*11+(1+((1+(1+1)))!))
154382918:((1111*(1+11)+1)*(((1+(11+(111+111)))*(1+1))+11111)+111)
172057472:((((((1+11)*11)*11+1)*(1+(1+1)))+11111)*(11+11111)+((1+11)*11))
192280850:(((11111*(1+11)+11)*(1+(((1+(1+1)))!)!)+(11+111))*(1+1))
194713795:((11)!+((((111+11111)*(1+(1+(1+111)))+((1+(1+1)))!)*11)*11+1))
207721209:(((111*111)*(1+(11+11))+(1+1))*(1+(1+(11+(((1+(1+1)))!)!)))+(1+(1+(1+1))))
220946392:((11)!+((((1+(1+(1+1111)))*(11+111))*111+11)*(1+11)+(1+(1+(1+1)))))
225230299:((111111111+((111*111+(1+((1+(1+1)))!))*(11+111)+(11+11)))*(1+1)+1)
227043979:((((((11+11)*11)+11111)*(1+(1+1))+1)*1111+(1+(1+1)))*((1+(1+1)))!+1)
241011012:(((11)!+((11)!+((11)!+((11+1111)*((1+111)*((1+(1+1)))!+1)))))*(1+1))
248906099:(((11111+(((((1+(1+1)))!)!*111)*(1+1)))*(1+111)+111)*(1+(1+11)))
249796314:(((11)!+(((((1+(1+1)))!)!+((1+1111)*(1+11)))*(11+111)+111))*((1+(1+1)))!)
250546528:((11)!+(((111*111)*(1+(1+(1+11)))+11)*(111*11)+(1+(11+1111))))
258452706:(((11)!+(((((1+(1+1)))!)!*((1+(1+1)))!+1)*(11+(((1+(1+1)))!)!)))*((1+(1+1)))!)
276862988:(((11+(1111*(1+1)))*(((1+(1+1)))!+1111))*111+(((1+(1+1)))!+11))
277140688:(((111*111+(1+(1+(1+(1+11)))))*(1+1))*(11+(111+11111))+(1+111))
280158490:((11)!+(((1+(111+111111))*(((1+(1+1)))!)!+(1+(1+1)))*(1+(1+1))+1))
286074562:(((11)!+((((11+1111)*(11+11))*(1+1)+1)*(1+(11+1111))))*(1+(1+1))+1)
308946627:((11)!+((((1+1111)*(((1+(1+1)))!)!+((11+11)*(1+1)))*(1+111)+1)*(1+(1+1))))
310972897:((11111*(1+(1+1))+1)*(((1111+(111*11))*(1+1))*(1+1)+1)+11)
322612091:((((((1+11)*(1+11))*(1+11)+(1+1))*111+1)*(1+111))*(1+(1+(1+(1+11))))+11)
324445400:(((1111111+(1+(1+1)))*(1+1))*((1+11)*(1+11)+(1+1))+(1+111))
336060042:(((1+1111)*(1+(11+111))+(1+111))*(11+((111*11+1)*(1+1)))+(1+1))
346729632:(((1+(1+(11111+(111*111))))*((1+111)*11+1)+(1+(1+(1+11))))*(1+11))
349428326:(((((11+11)*11)*11+1)*(1+1111)+1)*(1+(((1+(1+1)))!+111)))
352769482:(((1+11111)*(111*(11+11))+((11+111)*((1+1)*(1+1)+1)))*(1+(1+11)))
363039453:(((((1+111)*(1+111)+1)*(1+1))*(1+(1+11))+11)*(1+(1+1111)))
363851029:((((111*11+1)*1111+11)*((1+11)*11+(1+1))+(1+11))*(1+1)+1)
392168304:(((((1+(1+1111))*(1+111))*11+1)*(1+(1+11))+11)*(11+11))
401975104:(((((1+11)*(1+11)+1)*111)*111+11)*((1+111)*(1+1)+1)+(1+(1+(1+1))))
407890409:(((1+11111)*11)*((1+1111)*(1+(1+1))+1)+((1+1111)*(1+1)+1))
407971913:((11)!+((11)!+(((1+(1+11111))*(1+1)+1)*(((11+111)*11)*11+1)+(1+1111))))
425780757:(((1111+((((1+11)*11)+11111)*(1+(1+1))))*11+1)*1111+((1+(1+1)))!)
459441559:(((11111+(((1+(1+111))*(1+1)+1)*111))*111+1)*(1+(1+(1+111)))+(1+(1+11)))
465592122:(((11)!+((((1111*(11*(1+(1+1))+1)+1)*(1+(11+11)))*(1+1)+1)*111))*(1+1))
475898732:(((11)!+(((((1+111)*11+(1+1))*(1+11))*(1+1)+1)*(1+(1+111))))*11+1)
482826596:(((1+(((111*11)*11)+(11111*(1+1))))*111+1)*(11+111)+((1+(1+1)))!)
484263150:(((111*111+(1+(1+1)))*111+11)*(1+(111+((11+11)*11))))
506235403:(((1+11))!+((((1+(1+1111))*(1+1111)+((11+111)*(1+1)))*11+1)*(1+1)+1))
548951531:((((111+111)*(1+1)+1)*111+11)*11111+((11+111)*(1+11)+1))
554295842:(((1+11))!+((((1+1111)*111+1)*((1+1)*(1+1)+1))*(11+111)+(1+111)))
580536366:(((1+(111+((111*111+11)*(1+11))))*(1+111)+1)*(11+((1+(1+(1+1))))!)+11)
587051904:(((((1+1111)*(1+11))*(1+(1+1))+1)*(111*11+1)+(111*((1+(1+1)))!))*(1+11))
588265985:(((1+11))!+((1+(111+(1111*(1+(1+11)))))*((1+111)*(11*((1+(1+1)))!+1)+(1+(1+1)))))
588298051:((((((11+111)*11)*11)+(11111*(1+(1+1))))*(1+1111)+1)*11)
590968352:(((((((1+(1+1)))!)!+11111)*111+(11+11))*((1+111)*(1+1)+1)+1)*(1+1))
601194306:((((1111*(1+(1+(1+(11+111))))+1)*111+(1+1))*(1+(1+1))+1)*(1+(1+11))+11)
607771869:(((1+11))!+(((11)!+(((1111*11+1)*(1+1))*(1+(11+111))+11))*(1+(1+1))))
618578932:(((((1111*111)*11+1)*(1+1)+1)*(1+1))*(1+(1+(1+111)))+(1+111))
626776380:((((1+(1+(1+1))))!+((((1+(1+1)))!)!+(1111*111)))*(1+(11+((1+((1+(1+1)))!))!)))
667919873:((((((1+(11+111))*11+1)*111+(1+(1+1)))*1111+1)*(1+1))*(1+1)+1)
681786366:(((1+11))!+((11)!+(((11)!+((11)!+((1+(1+11111))*((1+11)*(1+11))+111)))*(1+1))))
689854904:(((11+((11111+((1+1111)*11))*(1+1)))*((11+111)*11+1)+11)*11+(1+1))
692055400:(((1+11))!+(((((1+(1+111))*(1+(1+(1+11))))*11)*11+1)*(1+(1+1111))+1))
697665495:(((1+11))!+(((((((1+(1+1)))!)!*(1+(1+(1+111)))+1)*(1+11))*(1+1)+1)*111))
711608194:(((11)!+(((1+(1+(1+(1+1111))))*(11+((11+111)*(1+1)))+(1+1))*1111))*(1+1))
734027104:(((111*(11+((1+(1+(1+1))))!)+1)*(((1+(1+1)))!+11)+1)*11111+1111)
750869335:((11111111+((1+(((1+(1+1)))!)!)*((1+11)*11+1)+1))*(11*((1+(1+1)))!+1))
757710567:((((((11+111)*11)+111111)*(1+(1+1))+1)*(1+(11+1111))+(1+(1+1)))*(1+1)+1)
759967747:(((11)!+(((1+(1+(111+11111)))*(1+(1+111)))*(1+(11+11))+1))*11)
777616154:((11111*(111+(((111*11+1)*(1+1))*(1+1)))+(11+111))*(1+(1+(1+11))))
830071127:((((1+111)*111)*((1+(1+1)))!+1)*(((1+(1+1)))!+(11+11111))+(111*(1+1)+1))
833809927:((((11+1111)*(1+1)+1)*111+1)*(1+(1+(11+(1111*(1+(1+1))))))+111)
835873060:(((((11+(111+111))*111+1)*(1+(1+111))+1)*(1+(1+11))+1)*(11+11))
836438554:(((1+11))!+(((11111*(1+1)+1)*((11+(((1+(1+1)))!)!)*11+1)+1111)*(1+1)))
836945593:(((1111*1111+(1+111))*(1+(1+111))+(1+(1+1)))*((1+(1+1)))!+1)
863728236:(((1+(1111+((11+11111)*(1+1))))*(111*111+((1+(1+1)))!))*(1+(1+1)))
864158514:(((1+11))!+(((1111*(1+(1+(1+11)))+((1+(1+1)))!)*111+1)*(111*(1+1)+1)+11))
871273503:((((1+11111)*(11+11)+1)*((1+(1+11))*(1+1)+1)+1)*((1+11)*11)+111)
881615667:((11111+((111*111+11)*(1+1)))*((111*111)*(1+1)+1)+((11+1111)*11))
891619600:(((11)!+((11)!+((((1+(11+11))*(1+1))+111111)*11)))*11+(1+(1+1)))
897181691:((11+(11+(11+((1+(1+((1+(1+1)))!)))!)))*(11+(11111*(1+1)))+((111*11+1)*11))
918159061:(((11)!+(((11+11)*11+1)*(1+(1+11))))*(1+(11+11))+(1+(1+(1+1))))
920521050:(((11)!+((((1+(11+1111))*(1+(1+(1+1111))))*(1+111)+111)*(1+(1+1))))*(1+1))
924502226:((((1111*(1+11))*(1+1)+1)*((111*(1+11)+1)*(1+1)+1))*(1+(1+11))+11)
929983535:(((11)!+((((11+111)*111+1)*111)*((1+11)*(1+1)+1)+(1+1)))*(1+11)+11)
943162304:(((11)!+((((((1+((1+(1+1)))!))!+(111*111))*111+(1+1))*(1+111))*(1+1)))*(1+1))
950210939:(((11+(111+11111))*(1+(1+(1+(((1+(1+1)))!)!)))+(1+1))*(((1+(1+1)))!+111)+(1+1))
950214176:(((11)!+((((111*111)*(1+(1+11)))*11+1)*((1+(11+111))*(1+1)+1)))*(1+1))
962610357:((((1+11))!+((1+((((1+(1+1)))!)!+(111*(1+11))))*(11+1111)+(1+111)))*(1+1)+1)
974842859:((((((11*(1+((1+(1+1)))!))+1111)*11+1)*(1+111))*((1+(1+1)))!)*111+11)
988572832:(((111111111+((11111*(1+(1+1111))+11)*11+(1+(1+1))))*(1+1))*(1+1))

225을 세지 않은 것 같습니다 !. 나는 그것이 1407 년이 아니라 1632 년의 운영자라고 생각합니다. (아직도 여전히 큰 점수를
얻습니다

Woops, 사실, 나는 계승 함수의 비용에서 '1'을 놓쳤다. 놀랍게도 (나에게) 내가 생성하는 표현에 거의 영향을 미치지 않는 고정은 계승이 일반적으로 너무 커서 하나 더 비용이 든다면 여전히 최선의 선택이라고 생각합니다.
Chris Jefferson

long maxval grumble grumble
Stan Strum 2016 년

7

하스켈

기본 점수 : 27242281

중등 점수 : 12/09/2016 09:01

11891 1's, 2291 연산자

import Data.List


nums = iterate (\x -> x*10+1) 1

g n | n > a = show a ++ "+(" ++ g (n-a) ++ ")"
    | n < a = show a ++ "-(" ++ g (a-n) ++ ")"
    | otherwise = show a
 where a = minimumBy (\x y -> compare (abs$x-n) (abs$y-n))
         . take 2 . reverse
         $ takeWhile (<=n*10) nums

기본적으로 +와-만 사용하여 가장 짧은 방법을 찾습니다.

산출:

945536: 1111111-(111111+(11111+(11111+(11111+(11111+(11111-(1111-(11+(11-(1+(1)))))))))))
16878234: 11111111+(1111111+(1111111+(1111111+(1111111+(1111111+(111111+(111111-(11111-(111+(111+(111+(111+(11+(1+(1)))))))))))))))
32608778: 11111111+(11111111+(11111111-(1111111-(111111+(111111+(111111+(11111+(11111+(11111+(11111+(11111-(1111+(1111+(111-(1)))))))))))))))
42017515: 11111111+(11111111+(11111111+(11111111-(1111111+(1111111+(111111+(111111-(11111+(11111-(1111+(1111+(1111+(1111+(111+(111+(11+(11+(11+(11-(1+(1+(1))))))))))))))))))))))
48950830: 11111111+(11111111+(11111111+(11111111+(1111111+(1111111+(1111111+(1111111+(111111-(11111+(11111+(11111+(11111+(1111+(1111+(1111+(1111+(111+(111+(11+(11+(11+(11+(11+(1+(1+(1+(1)))))))))))))))))))))))))))
51483452: 11111111+(11111111+(11111111+(11111111+(11111111-(1111111+(1111111+(1111111+(1111111-(111111+(111111+(111111+(11111+(11111+(11111+(1111+(1111+(1111+(1111+(1111+(111+(11-(1+(1)))))))))))))))))))))))
52970263: 11111111+(11111111+(11111111+(11111111+(11111111-(1111111+(1111111+(111111+(111111+(111111+(11111+(11111+(11111-(1111+(1111+(1111+(111+(111+(11+(11+(11+(11-(1+(1+(1))))))))))))))))))))))))
54278649: 11111111+(11111111+(11111111+(11111111+(11111111-(1111111+(111111+(11111+(11111+(11111+(11111+(11111-(1111-(111+(111+(11+(11-(1+(1+(1+(1))))))))))))))))))))
63636656: 111111111-(11111111+(11111111+(11111111+(11111111+(1111111+(1111111+(1111111-(111111+(111111+(111111-(11111+(11111+(11111-(1111+(1111+(1111-(11)))))))))))))))))
78817406: 111111111-(11111111+(11111111+(11111111-(1111111-(111111-(11111+(11111+(11111+(11111-(1111+(1111+(1111+(1111+(111+(111+(111+(11+(11+(11+(11-(1+(1+(1+(1+(1)))))))))))))))))))))))))
89918907: 111111111-(11111111+(11111111-(1111111-(111111-(11111+(11111+(11111-(1111+(1111+(1111-(11+(11-(1+(1+(1+(1))))))))))))))))
90757642: 111111111-(11111111+(11111111-(1111111+(1111111-(111111+(111111+(111111+(11111+(11111-(1111+(1111-(111+(11+(11+(1+(1+(1)))))))))))))))))
95364861: 111111111-(11111111+(1111111+(1111111+(1111111+(1111111+(111111+(111111-(11111+(11111+(11111-(1111+(1111-(111+(111+(111+(111-(11+(11+(11-(1+(1+(1+(1+(1))))))))))))))))))))))))
102706605: 111111111-(11111111-(1111111+(1111111+(111111+(111111+(111111+(111111+(11111+(11111+(11111+(11111-(1111+(1111+(1111+(1111+(111-(11+(11+(11+(11+(11-(1+(1+(1+(1+(1))))))))))))))))))))))))))
113965374: 111111111+(1111111+(1111111+(1111111-(111111+(111111+(111111+(111111+(11111+(11111+(11111+(1111+(111+(111-(11+(11+(11+(11-(1+(1+(1+(1)))))))))))))))))))))
122448605: 111111111+(11111111+(111111+(111111+(1111+(1111+(1111+(1111-(111+(111+(111-(11+(11+(11+(11+(11-(1+(1+(1+(1+(1))))))))))))))))))))
126594161: 111111111+(11111111+(1111111+(1111111+(1111111+(1111111-(111111-(11111+(11111+(11111+(1111+(1111+(1111+(1111+(1111-(111+(111+(11+(11+(11+(11+(11+(1+(1+(1+(1+(1))))))))))))))))))))))))))
148064959: 111111111+(11111111+(11111111+(11111111+(1111111+(1111111+(1111111+(111111+(111111+(111111-(11111+(11111+(11111+(11111+(1111+(111+(111+(111+(111+(111+(11+(11+(11+(11-(1+(1+(1))))))))))))))))))))))))))
150735075: 111111111+(11111111+(11111111+(11111111+(11111111-(1111111+(1111111+(1111111+(1111111+(111111+(111111+(111111+(11111+(11111+(11111+(11111-(1111+(1111-(111+(111+(111+(111+(11+(11+(11+(1+(1+(1+(1))))))))))))))))))))))))))))
154382918: 111111111+(11111111+(11111111+(11111111+(11111111-(1111111+(111111-(11111+(11111+(11111+(11111+(1111+(1111+(1111+(1111+(1111-(111+(111+(111+(111-(11+(11+(11-(1+(1+(1)))))))))))))))))))))))))
172057472: 111111111+(11111111+(11111111+(11111111+(11111111+(11111111+(1111111+(1111111+(1111111+(1111111+(1111111-(111111+(11111+(11111+(11111+(11111+(11111-(1111+(1111-(111+(111+(111-(11+(11+(11-(1+(1+(1+(1+(1)))))))))))))))))))))))))))))
192280850: 111111111+(111111111-(11111111+(11111111+(11111111-(1111111+(1111111+(1111111+(11111+(11111+(11111+(11111+(11111+(1111+(1111+(1111-(111+(111+(11+(11+(11+(1+(1+(1+(1+(1)))))))))))))))))))))))))
194713795: 111111111+(111111111-(11111111+(11111111+(1111111+(1111111+(1111111+(1111111+(1111111-(111111+(111111+(11111+(11111+(11111+(11111+(1111+(1111+(111+(111+(111+(111+(11+(11-(1+(1+(1+(1))))))))))))))))))))))))))
207721209: 111111111+(111111111-(11111111+(1111111+(1111111+(1111111+(11111+(11111+(11111+(11111+(11111+(1111-(111-(11+(1+(1+(1))))))))))))))))
220946392: 111111111+(111111111-(1111111+(111111+(11111+(11111+(11111+(11111+(11111-(1111+(1111-(111+(111+(11+(11+(11+(11+(11-(1+(1)))))))))))))))))))
225230299: 111111111+(111111111+(1111111+(1111111+(1111111-(111111+(111111+(111111-(11111-(1111+(1111+(1111-(111+(111+(111-(11+(11+(11+(1))))))))))))))))))
227043979: 111111111+(111111111+(1111111+(1111111+(1111111+(1111111+(111111+(111111+(111111+(11111+(11111+(11111+(11111-(111+(111+(111+(111+(11+(11-(1+(1))))))))))))))))))))
241011012: 111111111+(111111111+(11111111+(11111111-(1111111+(1111111+(1111111+(111111-(11111-(111-(11+(1)))))))))))
248906099: 111111111+(111111111+(11111111+(11111111+(1111111+(1111111+(1111111+(1111111+(11111+(1111+(1111+(1111+(1111+(1111+(111+(111+(111+(111+(111-(11-(1))))))))))))))))))))
249796314: 111111111+(111111111+(11111111+(11111111+(1111111+(1111111+(1111111+(1111111+(1111111-(111111+(111111-(11111+(11111-(1111+(1111+(1111+(111+(111+(111+(11+(11-(1+(1+(1)))))))))))))))))))))))
250546528: 111111111+(111111111+(11111111+(11111111+(1111111+(1111111+(1111111+(1111111+(1111111+(111111+(111111+(111111+(111111+(111111-(11111-(1111+(1111-(111+(11+(11+(1+(1+(1+(1)))))))))))))))))))))))
258452706: 111111111+(111111111+(11111111+(11111111+(11111111+(1111111+(1111111+(1111111-(111111+(111111+(111111+(111111-(11111-(1111+(1111+(1111-(111+(111+(111+(111+(11+(11+(11+(11-(1+(1+(1+(1)))))))))))))))))))))))))))
276862988: 111111111+(111111111+(11111111+(11111111+(11111111+(11111111+(11111111-(1111111-(111111+(111111-(11111+(11111+(1111+(1111+(1111+(111+(111+(111+(11+(1)))))))))))))))))))
277140688: 111111111+(111111111+(11111111+(11111111+(11111111+(11111111+(11111111-(1111111-(111111+(111111+(111111+(111111+(11111+(11111+(11111-(1111+(1111+(1111+(111+(111+(111+(111-(11+(11)))))))))))))))))))))))
280158490: 111111111+(111111111+(11111111+(11111111+(11111111+(11111111+(11111111+(1111111+(1111111+(111111+(11111+(11111+(11111+(11111+(1111+(1111+(1111-(111+(111+(111+(111-(11+(11+(11+(11+(1+(1+(1)))))))))))))))))))))))))))
286074562: 111111111+(111111111+(111111111-(11111111+(11111111+(11111111+(11111111+(1111111+(1111111+(111111+(111111+(111111+(111111+(111111+(11111+(11111+(11111+(1111+(1111+(1111-(111+(1+(1+(1+(1+(1)))))))))))))))))))))))))
308946627: 111111111+(111111111+(111111111-(11111111+(11111111+(1111111+(1111111-(11111+(11111+(11111+(11111+(11111+(1111+(1111-(11+(11+(11+(11-(1+(1+(1+(1+(1))))))))))))))))))))))
310972897: 111111111+(111111111+(111111111-(11111111+(11111111+(111111+(11111+(11111+(1111+(1111+(1111+(1111+(111+(111+(111+(111-(11-(1+(1+(1+(1))))))))))))))))))))
322612091: 111111111+(111111111+(111111111-(11111111-(111111+(111111+(111111+(11111+(11111+(11111+(11111+(11111+(1111-(111+(11+(11-(1+(1+(1))))))))))))))))))
324445400: 111111111+(111111111+(111111111-(11111111-(1111111+(1111111+(1111-(111+(11+(11+(11+(11)))))))))))
336060042: 111111111+(111111111+(111111111+(1111111+(1111111+(111111+(111111+(111111+(111111+(11111+(11111+(11111+(11111+(11111+(1111+(1111+(1111+(1111+(11+(11+(11+(11)))))))))))))))))))))
346729632: 111111111+(111111111+(111111111+(11111111+(1111111+(1111111+(111111-(11111+(11111+(11111+(11111+(1111+(1111+(1111+(111+(111+(111+(11+(11+(11+(1+(1)))))))))))))))))))))
349428326: 111111111+(111111111+(111111111+(11111111+(1111111+(1111111+(1111111+(1111111+(111111+(111111+(111111+(111111+(111111-(11111+(1111+(1111+(1111+(1111+(111+(111+(111+(111+(111+(11-(1+(1+(1+(1)))))))))))))))))))))))))))
352769482: 111111111+(111111111+(111111111+(11111111+(11111111-(1111111+(1111111+(111111+(111111+(111111+(111111+(111111+(11111-(1111+(1111+(111+(111+(111+(111+(111+(11+(11+(11+(1+(1+(1+(1+(1)))))))))))))))))))))))))))
363039453: 111111111+(111111111+(111111111+(11111111+(11111111+(11111111-(1111111+(1111111+(1111111+(111111+(111111+(111111-(11111+(11111+(11111+(11111-(1111+(1111+(1111+(1111+(111+(111+(111+(111+(111-(11-(1+(1+(1))))))))))))))))))))))))))))
363851029: 111111111+(111111111+(111111111+(11111111+(11111111+(11111111-(1111111+(1111111+(111111+(111111+(111111+(111111+(111111+(11111+(11111+(11111+(1111+(1111+(1111+(1111+(111-(11+(11+(11-(1+(1+(1+(1+(1))))))))))))))))))))))))))))
392168304: 111111111+(111111111+(111111111+(11111111+(11111111+(11111111+(11111111+(11111111+(1111111+(1111111+(1111111-(11111+(11111+(11111+(11111+(11111-(1111+(111+(111+(111+(111+(111-(11+(11+(11-(1+(1+(1+(1+(1)))))))))))))))))))))))))))))
401975104: 111111111+(111111111+(111111111+(111111111-(11111111+(11111111+(11111111+(11111111-(1111111+(1111111-(111111+(111111+(11111+(11111+(1111+(1111+(111+(111+(111+(111+(11-(1+(1+(1)))))))))))))))))))))))
407890409: 111111111+(111111111+(111111111+(111111111-(11111111+(11111111+(11111111+(1111111+(1111111+(1111111-(111111+(1111+(111+(111+(111+(111-(11+(11+(11+(1+(1))))))))))))))))))))
407971913: 111111111+(111111111+(111111111+(111111111-(11111111+(11111111+(11111111+(1111111+(1111111+(1111111-(111111+(111111-(11111+(11111+(1111+(1111+(1111+(1111+(1111+(111+(111+(111-(11+(11+(1))))))))))))))))))))))))
425780757: 111111111+(111111111+(111111111+(111111111-(11111111+(11111111-(1111111+(1111111+(1111111+(111111+(111111+(1111+(1111+(1111-(111+(111+(111+(11+(11-(1+(1))))))))))))))))))))
459441559: 111111111+(111111111+(111111111+(111111111+(11111111+(1111111+(1111111+(1111111+(111111+(111111+(111111+(111111+(111111-(1111+(1111+(1111-(111+(111+(111+(111+(1+(1+(1+(1+(1))))))))))))))))))))))))
465592122: 111111111+(111111111+(111111111+(111111111+(11111111+(11111111-(1111111-(11111+(11111+(11111+(1111+(1111+(1111-(111-(11+(1)))))))))))))))
475898732: 111111111+(111111111+(111111111+(111111111+(11111111+(11111111+(11111111-(1111111+(1111111-(111111+(111111+(111111+(11111-(1111+(111+(11+(11+(11+(11+(1)))))))))))))))))))
482826596: 111111111+(111111111+(111111111+(111111111+(11111111+(11111111+(11111111+(1111111+(1111111+(1111111+(1111111+(111111+(111111+(111111+(111111+(111111+(11111+(11111+(11111+(11111+(1111+(1111+(1111+(1111-(111-(11+(11+(11+(11-(1)))))))))))))))))))))))))))))
484263150: 111111111+(111111111+(111111111+(111111111+(11111111+(11111111+(11111111+(11111111-(1111111+(1111111+(1111111+(1111111+(111111+(111111-(11111+(11111+(11111+(11111-(1111+(1111+(1111+(111+(111-(11+(11+(11+(11-(1+(1+(1+(1+(1)))))))))))))))))))))))))))))))
506235403: 111111111+(111111111+(111111111+(111111111+(111111111-(11111111+(11111111+(11111111+(11111111+(1111111+(1111111+(1111111+(1111111+(111111+(111111+(111111+(111111-(11111+(1111+(1111-(111+(11+(11+(11+(11-(1+(1))))))))))))))))))))))))))
548951531: 111111111+(111111111+(111111111+(111111111+(111111111-(11111111-(1111111+(1111111+(1111111+(1111111+(111111-(11111+(11111+(11111+(11111+(1111+(1111+(1111+(1111-(111+(111+(111+(111-(11+(11+(1+(1))))))))))))))))))))))))))
554295842: 111111111+(111111111+(111111111+(111111111+(111111111-(1111111+(111111+(11111+(11111+(11111+(1111+(1111+(1111+(1111-(111+(111+(111-(11+(11+(11+(11+(1+(1+(1)))))))))))))))))))))))
580536366: 111111111+(111111111+(111111111+(111111111+(111111111+(11111111+(11111111+(1111111+(1111111+(111111+(111111+(111111+(111111+(111111-(11111+(11111-(1111+(1111+(1111-(111+(111+(111-(11+(11+(11+(1)))))))))))))))))))))))))
587051904: 111111111+(111111111+(111111111+(111111111+(111111111+(11111111+(11111111+(11111111-(1111111+(1111111-(111111+(111111+(111111+(11111+(11111+(11111+(11111+(11111-(1111+(1111+(1111+(111+(111+(111-(11+(1+(1+(1+(1+(1)))))))))))))))))))))))))))))
588265985: 111111111+(111111111+(111111111+(111111111+(111111111+(11111111+(11111111+(11111111-(1111111-(111111+(111111+(111111+(111111+(11111+(11111+(11111+(11111-(1111-(111+(111+(111+(111-(11+(1+(1))))))))))))))))))))))))
588298051: 111111111+(111111111+(111111111+(111111111+(111111111+(11111111+(11111111+(11111111-(111111+(111111+(111111+(111111+(111111+(11111+(11111+(11111+(1111+(1111-(111+(111+(11+(11+(11+(11+(11-(1+(1+(1+(1))))))))))))))))))))))))))))
590968352: 111111111+(111111111+(111111111+(111111111+(111111111+(11111111+(11111111+(11111111+(1111111+(1111111-(111111+(11111+(11111+(11111-(1111+(111+(111+(111+(111+(111+(11+(11-(1+(1)))))))))))))))))))))))
601194306: 111111111+(111111111+(111111111+(111111111+(111111111+(11111111+(11111111+(11111111+(11111111+(1111111+(111111-(11111+(11111+(1111+(1111+(1111+(1111+(1111+(111+(11+(11+(1+(1+(1+(1+(1)))))))))))))))))))))))))
607771869: 111111111+(111111111+(111111111+(111111111+(111111111+(11111111+(11111111+(11111111+(11111111+(11111111-(1111111+(1111111+(1111111+(1111+(1111+(1111+(1111+(1111+(111+(111+(111+(11+(11-(1+(1))))))))))))))))))))))))
618578932: 1111111111-(111111111+(111111111+(111111111+(111111111+(11111111+(11111111+(11111111+(11111111+(1111111+(1111111+(1111111+(111111+(111111+(111111-(11111+(11111+(1111+(11+(11+(11+(11-(1+(1)))))))))))))))))))))))
626776380: 1111111111-(111111111+(111111111+(111111111+(111111111+(11111111+(11111111+(11111111+(11111111-(1111111+(1111111+(1111111+(1111111+(111111-(1111+(111+(111+(111-(11+(11+(11+(11+(1+(1)))))))))))))))))))))))
667919873: 1111111111-(111111111+(111111111+(111111111+(111111111-(1111111+(111111+(11111+(11111+(11111-(1111+(1111+(111+(11+(1+(1+(1+(1+(1))))))))))))))))))
681786366: 1111111111-(111111111+(111111111+(111111111+(111111111-(11111111+(1111111+(1111111+(1111111+(1111111-(111111+(111111+(111111+(111111-(11111-(1111+(1111+(111+(111+(111-(11+(11+(11-(1)))))))))))))))))))))))
689854904: 1111111111-(111111111+(111111111+(111111111+(111111111-(11111111+(11111111+(1111111-(111111+(11111+(11111+(11111+(1111-(111+(111+(111+(111+(11+(1+(1+(1+(1)))))))))))))))))))))
692055400: 1111111111-(111111111+(111111111+(111111111+(111111111-(11111111+(11111111+(1111111+(1111111+(1111111-(111111+(11111+(11111+(11111+(11111+(11111+(111+(11+(11+(11+(11+(1)))))))))))))))))))))
697665495: 1111111111-(111111111+(111111111+(111111111+(111111111-(11111111+(11111111+(11111111-(1111111+(1111111+(111111+(1111+(111-(11+(11+(11+(11+(11-(1+(1+(1+(1+(1))))))))))))))))))))))
711608194: 1111111111-(111111111+(111111111+(111111111+(111111111-(11111111+(11111111+(11111111+(11111111+(111111+(111111+(111111+(111111+(11111+(11111+(11111+(11111+(11111-(1111+(1111+(1111-(111+(111+(111+(111-(11+(11+(1+(1+(1+(1+(1)))))))))))))))))))))))))))))))
734027104: 1111111111-(111111111+(111111111+(111111111+(11111111+(11111111+(11111111+(11111111-(1111111-(111111+(111111+(111111+(111111-(11111+(11111+(1111+(1111+(1111+(1111+(111+(111+(111+(111-(11-(1+(1+(1+(1)))))))))))))))))))))))))))
750869335: 1111111111-(111111111+(111111111+(111111111+(11111111+(11111111+(1111111+(1111111+(1111111+(1111111+(111111+(111111+(11111+(11111-(1111+(1111+(111+(111+(111+(111+(1))))))))))))))))))))
757710567: 1111111111-(111111111+(111111111+(111111111+(11111111+(11111111-(1111111+(1111111-(111111-(11111+(11111+(11111+(11111-(111+(111+(111+(111+(111-(11))))))))))))))))))
759967747: 1111111111-(111111111+(111111111+(111111111+(11111111+(11111111-(1111111+(1111111+(1111111+(1111111-(11111+(11111+(11111-(1111-(11+(11+(11-(1+(1))))))))))))))))))
777616154: 1111111111-(111111111+(111111111+(111111111+(111111+(11111+(11111+(11111+(11111+(1111+(1111+(1111+(1111+(1111+(111+(111+(111+(111+(111-(11+(11+(11+(11-(1+(1+(1)))))))))))))))))))))))))
830071127: 1111111111-(111111111+(111111111+(11111111+(11111111+(11111111+(11111111+(11111111+(1111111+(1111111+(1111111-(111111-(11111+(11111+(11111+(11111-(1111+(1111+(1111+(1111+(11+(1+(1+(1+(1))))))))))))))))))))))))
833809927: 1111111111-(111111111+(111111111+(11111111+(11111111+(11111111+(11111111+(11111111-(111111+(111111+(111111+(111111+(11111+(11111+(11111-(1111+(111-(11+(11+(11+(1+(1+(1+(1+(1))))))))))))))))))))))))
835873060: 1111111111-(111111111+(111111111+(11111111+(11111111+(11111111+(11111111+(11111111-(1111111+(1111111+(111111+(111111+(111111-(11111+(1111+(1111+(1111+(1111+(111+(111+(11+(11+(11+(11+(11-(1+(1+(1)))))))))))))))))))))))))))
836438554: 1111111111-(111111111+(111111111+(11111111+(11111111+(11111111+(11111111+(11111111-(1111111+(1111111+(1111111-(111111+(111111+(1111+(1111+(1111+(1111+(1111+(111+(111+(111+(1+(1+(1)))))))))))))))))))))))
836945593: 1111111111-(111111111+(111111111+(11111111+(11111111+(11111111+(11111111+(11111111-(1111111+(1111111+(1111111+(111111+(111111+(11111+(11111+(11111+(11111+(11111+(1111+(11+(11+(11+(1+(1+(1+(1+(1))))))))))))))))))))))))))
863728236: 1111111111-(111111111+(111111111+(11111111+(11111111+(1111111+(1111111+(1111111-(111111+(111111+(111111+(111111-(11111+(11111+(11111+(11111+(1111+(1111+(1111+(1111+(1111-(111+(111+(111+(111+(11+(1+(1)))))))))))))))))))))))))))
864158514: 1111111111-(111111111+(111111111+(11111111+(11111111+(1111111+(1111111+(111111+(111111+(111111-(11111+(11111+(11111+(11111+(1111+(1111+(1111-(111+(111+(111+(11+(11+(11+(11-(1+(1)))))))))))))))))))))))))
871273503: 1111111111-(111111111+(111111111+(11111111+(11111111-(1111111+(1111111+(1111111+(1111111+(111111+(11111+(11111+(11111+(11111+(11111-(1111+(1111+(1111+(1111-(111+(11+(11+(11+(11+(11+(1+(1+(1+(1))))))))))))))))))))))))))))
881615667: 1111111111-(111111111+(111111111+(11111111-(1111111+(1111111+(1111111+(111111+(111111+(111111+(111111+(11111+(11111+(11111+(11111+(11111+(1111+(1111+(1111+(1111+(111+(1+(1))))))))))))))))))))))
891619600: 1111111111-(111111111+(111111111-(1111111+(1111111+(111111+(111111+(111111+(111111+(111111-(11111+(11111+(11111+(11111+(1111+(1111+(111+(111+(111+(111-(11+(11+(11+(11)))))))))))))))))))))))
897181691: 1111111111-(111111111+(111111111-(11111111-(1111111+(1111111+(111111+(111111+(111111+(111111+(111111+(11111+(11111+(11111+(11111-(1111+(1111+(1111+(111+(111+(111+(111+(111+(11+(11+(1+(1))))))))))))))))))))))))))
918159061: 1111111111-(111111111+(111111111-(11111111+(11111111+(11111111-(1111111+(1111111+(1111111+(1111111-(111111+(111111+(111111+(11111+(11111+(11111+(11111+(1111+(1111+(1111+(111+(111-(11+(11+(11+(11+(1+(1+(1+(1+(1))))))))))))))))))))))))))))))
920521050: 1111111111-(111111111+(111111111-(11111111+(11111111+(11111111-(1111111+(111111+(111111+(111111+(111111+(111111+(11111+(11111+(11111+(1111+(111-(11+(11+(11+(11+(1+(1+(1+(1+(1)))))))))))))))))))))))))
924502226: 1111111111-(111111111+(111111111-(11111111+(11111111+(11111111+(1111111+(1111111+(11111+(11111+(11111+(11111+(11111+(1111+(1111+(1+(1+(1+(1+(1)))))))))))))))))))
929983535: 1111111111-(111111111+(111111111-(11111111+(11111111+(11111111+(11111111-(1111111+(1111111+(1111111+(11111+(1111+(1111+(1111+(1111+(1111-(111+(111-(11+(11-(1))))))))))))))))))))
943162304: 1111111111-(111111111+(11111111+(11111111+(11111111+(11111111+(11111111+(1111111+(111111+(11111+(11111+(11111+(11111+(11111+(1111+(1111+(1111+(1111-(111-(11+(11+(11-(1+(1)))))))))))))))))))))))
950210939: 1111111111-(111111111+(11111111+(11111111+(11111111+(11111111+(1111111+(1111111+(1111111+(1111111+(1111111-(111111+(111111-(11111+(111+(111-(11+(11+(11+(11+(1+(1+(1+(1+(1))))))))))))))))))))))))
950214176: 1111111111-(111111111+(11111111+(11111111+(11111111+(11111111+(1111111+(1111111+(1111111+(1111111+(1111111-(111111+(111111-(11111-(1111+(1111+(1111-(111+(111+(11+(11+(11+(11+(1+(1+(1)))))))))))))))))))))))))
962610357: 1111111111-(111111111+(11111111+(11111111+(11111111+(1111111+(1111111+(1111111+(1111111-(111111+(111111+(111111+(11111+(11111+(11111+(11111+(11111-(1111-(111+(111+(111+(11+(11+(1+(1))))))))))))))))))))))))
974842859: 1111111111-(111111111+(11111111+(11111111+(1111111+(1111111+(1111111-(111111+(111111+(111111+(111111-(11111+(11111+(11111+(11111+(1111+(111+(111+(111+(111+(11+(11+(11-(1+(1))))))))))))))))))))))))
988572832: 1111111111-(111111111+(11111111+(111111+(111111+(111111-(11111+(11111-(1111+(1111+(1111+(1111+(111+(111+(111+(111+(11+(11+(11+(11+(11+(1+(1+(1)))))))))))))))))))))))

5

파이썬, 17136288 점

2 차 점수 : 12/09/2016 08:53
(4784 및 3582 작업)

진행중인 작업이지만 OP에서 현재 코드를 요청했습니다.

# get number in factorial base, ignoring the place of 0! (always 0) 
r=lambda n,q=[],i=2:n and r(n//i,q+[n%i],i+1)or q

# rewrite a number in a form using only 1s by converting its factorial base, the range only requires using up to 12 places, again ignoring the 0! place so we only hard code 1 and [5-12] (9 numbers)
def g(n):
    k=['','1']+['1'+'+1'*i for i in range(1,4)]+['(11-1)/(1+1)','t(1+1+1)','1+t(1+1+1)','11-1-1-1','11-1-1','11-1','11','1+11']
    q=r(n)
    return n<13and k[n]or(q[0]and'1+'or'')+'+'.join((v>1and'('+k[v]+')*'or'')+(i>2and't'or'')+'('+k[i]+')'for i,v in enumerate(q[1:],2)if v)

#get g(n) representations after differencing from 0, 11, 111, 1111, ... then return the one with the minimal stand-alone score
def h(n):
    o=[g(n)]+[str(v)+(v<n and'+('or'-(')+g(abs(v-n))+')'for v in[int('1'*l)for l in range(2,11)]]
    s=[sum(map(v.count,'+-*/t'))*v.count('1')for v in o]
    return o[s.index(min(s))]

# A Factorial function for analysis with eval
def t(n):
    r = 1
    while n:
        r *= n
        n -= 1
    return r

출력 - 노트 t계승 기능입니다, 그래서 같은과 혼동되지 않기 f위해 floor이 사용됩니다 경우 - 나는 각각의 기능을 사용하여 평가 t그들은 모두 올바른지 다시 확인에 (위) :

945536 11111111-(1+(1+1)+(1+1)*t(1+1+1)+((11-1)/(1+1))*t((11-1)/(1+1))+(t(1+1+1))*t(t(1+1+1))+(11-1-1-1)*t(11-1-1)+(1+1)*t(11-1))
16878234 11111111+(1+(1+1+1)*t(1+1+1)+t(1+1+1+1)+((11-1)/(1+1))*t((11-1)/(1+1))+t(t(1+1+1))+(11-1-1-1)*t(11-1-1-1)+((11-1)/(1+1))*t(11-1-1)+t(11-1))
32608778 111111111-(1+(1+1)*t(1+1+1)+(t(1+1+1))*t(t(1+1+1))+(1+t(1+1+1))*t(1+t(1+1+1))+(1+1)*t(11-1-1-1)+(t(1+1+1))*t(11-1-1)+(11-1)*t(11-1)+t(11))
42017515 111+((1+1)*(1+1)+(1+1+1)*t((11-1)/(1+1))+((11-1)/(1+1))*t(t(1+1+1))+(1+t(1+1+1))*t(11-1-1-1)+((11-1)/(1+1))*t(11-1-1)+t(11))
48950830 111+(1+t(1+1+1)+(1+1+1)*t(1+1+1+1)+(1+1+1)*t(t(1+1+1))+(11-1-1-1)*t(11-1-1-1)+(1+1+1+1)*t(11-1-1)+(1+1)*t(11-1)+t(11))
51483452 11111111+(1+(1+1)+(1+1+1)*t(1+1+1)+(1+1+1+1)*t((11-1)/(1+1))+(1+1)*t(t(1+1+1))+(1+1)*t(1+t(1+1+1))+(1+1)*t(11-1-1-1)+t(11-1-1)+t(11))
52970263 111111111-((1+1)+t(1+1+1)+t((11-1)/(1+1))+(t(1+1+1))*t(t(1+1+1))+(1+t(1+1+1))*t(1+t(1+1+1))+t(11-1-1-1)+((11-1)/(1+1))*t(11-1)+t(11))
54278649 1+(1+1)+t(1+1+1)+(1+1+1+1)*t(t(1+1+1))+t(1+t(1+1+1))+((11-1)/(1+1))*t(11-1-1-1)+(11-1-1)*t(11-1-1)+(1+1+1)*t(11-1)+t(11)
63636656 1111111+(1+t(1+1+1+1)+(t(1+1+1))*t(t(1+1+1))+((11-1)/(1+1))*t(1+t(1+1+1))+(1+1)*t(11-1-1-1)+(1+1)*t(11-1-1)+(t(1+1+1))*t(11-1)+t(11))
78817406 1111+(1+t(1+1+1)+(1+1)*t(1+1+1+1)+t(t(1+1+1))+(t(1+1+1))*t(1+t(1+1+1))+t(11-1-1-1)+(1+t(1+1+1))*t(11-1-1)+(11-1)*t(11-1)+t(11))
89918907 1+(1+1)+t(1+1+1+1)+(1+1)*t((11-1)/(1+1))+t(1+t(1+1+1))+(1+t(1+1+1))*t(11-1-1-1)+(1+t(1+1+1))*t(11-1-1)+(1+1)*t(11-1)+(1+1)*t(11)
90757642 1111111+(1+(1+1)+(1+1)*t(1+1+1+1)+(1+1+1)*t(1+t(1+1+1))+(1+t(1+1+1))*t(11-1-1)+(1+1)*t(11-1)+(1+1)*t(11))
95364861 11111111+((1+1)*(1+1)+(1+1+1)*t(1+1+1)+(1+1)*t(1+1+1+1)+((11-1)/(1+1))*t(1+t(1+1+1))+t(11-1-1-1)+(1+1)*t(11-1-1)+t(11-1)+(1+1)*t(11))
102706605 1111+((1+1)+(1+1)*t(1+1+1)+(1+1+1)*t((11-1)/(1+1))+(1+1)*t(1+t(1+1+1))+(1+1+1)*t(11-1-1)+(t(1+1+1))*t(11-1)+(1+1)*t(11))
113965374 t(1+1+1)+(1+1)*t(1+1+1+1)+t((11-1)/(1+1))+t(t(1+1+1))+(1+1+1+1)*t(1+t(1+1+1))+(1+1+1+1)*t(11-1-1)+(11-1-1)*t(11-1)+(1+1)*t(11)
122448605 111111+((1+1)+(1+1)*t(1+1+1)+t((11-1)/(1+1))+(1+1)*t(t(1+1+1))+t(1+t(1+1+1))+t(11-1-1-1)+(1+t(1+1+1))*t(11-1-1)+(1+1+1)*t(11))
126594161 111111111+((1+1)+(1+1)*t(1+1+1+1)+t((11-1)/(1+1))+(t(1+1+1))*t(11-1-1-1)+(1+1)*t(11-1-1)+(1+1+1+1)*t(11-1))
148064959 1111111111-((1+1+1)*t(1+1+1+1)+(1+1+1+1)*t(t(1+1+1))+(11-1-1-1)*t(11-1-1-1)+(1+1+1)*t(11-1-1)+t(11-1)+(1+1)*t(1+11))
150735075 11111111+((1+1)*(1+1)+t((11-1)/(1+1))+t(t(1+1+1))+(1+t(1+1+1))*t(1+t(1+1+1))+(t(1+1+1))*t(11-1-1-1)+(1+1+1+1)*t(11-1-1)+((11-1)/(1+1))*t(11-1)+(1+1+1)*t(11))
154382918 1111111+(1+t(1+1+1)+(1+1+1)*t((11-1)/(1+1))+(1+1+1)*t(1+t(1+1+1))+(1+1+1)*t(11-1-1-1)+(1+1)*t(11-1-1)+(11-1-1)*t(11-1)+(1+1+1)*t(11))
172057472 1111+(1+t((11-1)/(1+1))+t(t(1+1+1))+(1+1)*t(1+t(1+1+1))+t(11-1-1-1)+(1+1+1+1)*t(11-1-1)+(1+1+1)*t(11-1)+(1+1+1+1)*t(11))
192280850 1111111111-(1+(1+1)*(1+1)+(1+1+1+1)*t(1+1+1+1)+(1+1+1+1)*t(t(1+1+1))+(1+1+1)*t(1+t(1+1+1))+(1+1)*t(11-1-1)+(11)*t(11)+t(1+11))
194713795 111111111+((1+1)*(1+1)+((11-1)/(1+1))*t((11-1)/(1+1))+((11-1)/(1+1))*t(t(1+1+1))+(1+1+1)*t(1+t(1+1+1))+(1+1+1)*t(11-1-1-1)+t(11-1)+(1+1)*t(11))
207721209 111111+((1+1+1)*t(1+1+1)+(1+1)*t((11-1)/(1+1))+(1+1+1)*t(t(1+1+1))+t(11-1-1-1)+(1+1)*t(11-1-1)+(1+1)*t(11-1)+((11-1)/(1+1))*t(11))
220946392 111111111+(1+((11-1)/(1+1))*t(t(1+1+1))+(t(1+1+1))*t(11-1-1-1)+(1+1)*t(11-1-1)+(11-1-1-1)*t(11-1)+(1+1)*t(11))
225230299 1111111111-((1+1)*t(1+1+1)+(1+1)*t(1+t(1+1+1))+(1+1)*t(11-1-1-1)+t(11-1-1)+(1+1)*t(11-1)+(11-1)*t(11)+t(1+11))
227043979 1111111111-((1+1)*t(1+1+1)+t(t(1+1+1))+(1+1)*t(1+t(1+1+1))+(1+1)*t(11-1-1-1)+(t(1+1+1))*t(11-1-1)+t(11-1)+(11-1)*t(11)+t(1+11))
241011012 11+(1+(1+1+1)*t((11-1)/(1+1))+(1+1+1+1)*t(t(1+1+1))+(1+1+1)*t(1+t(1+1+1))+t(11-1-1-1)+(1+1+1+1)*t(11-1-1)+(t(1+1+1))*t(11))
248906099 11+((1+1)*t(1+1+1+1)+((11-1)/(1+1))*t((11-1)/(1+1))+(1+1)*t(1+t(1+1+1))+(11-1-1-1)*t(11-1-1-1)+((11-1)/(1+1))*t(11-1-1)+(1+1)*t(11-1)+(t(1+1+1))*t(11))
249796314 111111+(1+(1+1)+((11-1)/(1+1))*t(t(1+1+1))+(1+1+1+1)*t(1+t(1+1+1))+(11-1-1-1)*t(11-1-1)+(1+1)*t(11-1)+(t(1+1+1))*t(11))
250546528 111+(1+(1+1+1+1)*t(1+1+1+1)+(1+1+1+1)*t(t(1+1+1))+(1+t(1+1+1))*t(1+t(1+1+1))+(1+1+1)*t(11-1-1-1)+(1+1+1)*t(11-1)+(t(1+1+1))*t(11))
258452706 11+(1+t(1+1+1)+(1+1)*t(1+1+1+1)+(1+1)*t(t(1+1+1))+(1+1)*t(11-1-1-1)+(1+1)*t(11-1-1)+((11-1)/(1+1))*t(11-1)+(t(1+1+1))*t(11))
276862988 111+(1+(1+1)*(1+1)+(1+1+1)*t(1+1+1+1)+(1+1+1+1)*t((11-1)/(1+1))+((11-1)/(1+1))*t(1+t(1+1+1))+(11-1-1-1)*t(11-1-1-1)+(1+1)*t(11-1-1)+(11-1)*t(11-1)+(t(1+1+1))*t(11))
277140688 1111+(1+(1+1)+t(1+1+1)+(1+1)*t(1+1+1+1)+(1+1+1+1)*t(1+t(1+1+1))+(t(1+1+1))*t(11-1-1-1)+(1+1+1)*t(11-1-1)+(11-1)*t(11-1)+(t(1+1+1))*t(11))
280158490 (1+1)*(1+1)+t(1+1+1)+(1+1+1)*t(1+t(1+1+1))+(1+1)*t(11-1-1)+(1+t(1+1+1))*t(11)
286074562 1111+(1+(1+1)+(1+1)*t(1+1+1+1)+t((11-1)/(1+1))+(1+1+1+1)*t(t(1+1+1))+(1+1+1)*t(11-1-1-1)+(11-1-1-1)*t(11-1-1)+t(11-1)+(1+t(1+1+1))*t(11))
308946627 11111+((1+1)*(1+1)+(1+1+1)*t(1+1+1+1)+((11-1)/(1+1))*t(t(1+1+1))+(1+1+1)*t(11-1-1-1)+t(11-1-1)+(11-1-1-1)*t(11-1)+(1+t(1+1+1))*t(11))
310972897 111111111+((1+1)*(1+1)+t(1+1+1)+(1+1+1+1)*t(1+1+1+1)+(1+1+1+1)*t((11-1)/(1+1))+(1+t(1+1+1))*t(1+t(1+1+1))+(t(1+1+1))*t(11-1-1-1)+((11-1)/(1+1))*t(11))
322612091 11+((1+1)*t((11-1)/(1+1))+(1+1)*t(t(1+1+1))+(1+1)*t(1+t(1+1+1))+(11-1-1)*t(11-1-1)+(11-1-1-1)*t(11))
324445400 1111+(1+(1+1)*t(1+1+1+1)+(t(1+1+1))*t(t(1+1+1))+((11-1)/(1+1))*t(1+t(1+1+1))+(1+1+1+1)*t(11-1-1)+t(11-1)+(11-1-1-1)*t(11))
336060042 11+(1+t(1+1+1)+t(1+1+1+1)+(1+1+1+1)*t(t(1+1+1))+(t(1+1+1))*t(1+t(1+1+1))+(t(1+1+1))*t(11-1-1)+(1+1+1+1)*t(11-1)+(11-1-1-1)*t(11))
346729632 11111+(1+(1+1+1)*t((11-1)/(1+1))+(1+1)*t(t(1+1+1))+t(1+t(1+1+1))+(1+1+1+1)*t(11-1-1-1)+((11-1)/(1+1))*t(11-1-1)+(1+t(1+1+1))*t(11-1)+(11-1-1-1)*t(11))
349428326 11+(1+(1+1)+(1+1+1)*t(1+1+1+1)+(1+1+1)*t(1+t(1+1+1))+(11-1-1-1)*t(11-1-1-1)+(1+1)*t(11-1-1)+(11-1-1-1)*t(11-1)+(11-1-1-1)*t(11))
352769482 1111+(1+(1+1)+(1+1)*t(1+1+1+1)+((11-1)/(1+1))*t(t(1+1+1))+t(1+t(1+1+1))+t(11-1-1-1)+(1+1)*t(11-1-1)+(11-1-1)*t(11-1)+(11-1-1-1)*t(11))
363039453 111111+(t(1+1+1)+(1+1+1+1)*t(1+1+1+1)+(1+1+1+1)*t(t(1+1+1))+t(1+t(1+1+1))+t(11-1-1-1)+t(11-1)+(11-1-1)*t(11))
363851029 1111+(t(1+1+1)+(1+1+1)*t(1+1+1+1)+(1+1+1)*t(t(1+1+1))+(t(1+1+1))*t(11-1-1-1)+(1+1)*t(11-1-1)+t(11-1)+(11-1-1)*t(11))
392168304 11111111+(1+(1+1+1)*t(1+1+1+1)+(1+1+1+1)*t(t(1+1+1))+(t(1+1+1))*t(1+t(1+1+1))+(t(1+1+1))*t(11-1)+(11-1-1)*t(11))
401975104 1111111+(1+(1+1)+t(1+1+1)+t(1+1+1+1)+(1+1+1)*t((11-1)/(1+1))+(1+1+1)*t(t(1+1+1))+(t(1+1+1))*t(11-1-1-1)+(1+1+1+1)*t(11-1-1)+(11-1)*t(11))
407890409 11111+((1+1+1)*t(1+1+1)+(1+1+1)*t(t(1+1+1))+(1+1+1+1)*t(11-1-1)+(1+1)*t(11-1)+(11-1)*t(11))
407971913 11111+((1+1+1)*t(1+1+1)+t(1+1+1+1)+t((11-1)/(1+1))+(1+1+1+1)*t(t(1+1+1))+(1+1)*t(11-1-1-1)+(1+1+1+1)*t(11-1-1)+(1+1)*t(11-1)+(11-1)*t(11))
425780757 111+(t(1+1+1)+(1+1)*t(t(1+1+1))+(1+1+1)*t(11-1-1-1)+(1+1+1)*t(11-1-1)+(1+t(1+1+1))*t(11-1)+(11-1)*t(11))
459441559 1111111+((1+1)*t(1+1+1+1)+(1+1+1+1)*t(t(1+1+1))+(1+1)*t(1+t(1+1+1))+(1+1+1)*t(11-1-1)+((11-1)/(1+1))*t(11-1)+(11)*t(11))
465592122 1111+(1+(1+1)*(1+1)+t(1+1+1)+t((11-1)/(1+1))+t(t(1+1+1))+(1+1+1)*t(1+t(1+1+1))+(1+1+1)*t(11-1-1)+(1+t(1+1+1))*t(11-1)+(11)*t(11))
475898732 11111+(1+(1+1)+(1+1+1)*t(1+1+1)+t(t(1+1+1))+(t(1+1+1))*t(1+t(1+1+1))+(1+1+1)*t(11-1-1-1)+t(11-1-1)+(11-1)*t(11-1)+(11)*t(11))
482826596 111111+(1+(1+1)*(1+1)+t((11-1)/(1+1))+(t(1+1+1))*t(t(1+1+1))+(1+1)*t(11-1-1-1)+t(11-1)+t(1+11))
484263150 t(1+1+1)+t(1+1+1+1)+(1+1+1+1)*t((11-1)/(1+1))+(t(1+1+1))*t(t(1+1+1))+(1+1+1)*t(1+t(1+1+1))+(1+1+1+1)*t(11-1-1-1)+(1+1+1+1)*t(11-1-1)+t(11-1)+t(1+11)
506235403 1111+((1+1)*t(1+1+1)+t((11-1)/(1+1))+(1+1)*t(t(1+1+1))+(1+1+1)*t(1+t(1+1+1))+((11-1)/(1+1))*t(11-1-1)+(1+t(1+1+1))*t(11-1)+t(1+11))
548951531 11+((1+1+1+1)*t((11-1)/(1+1))+(t(1+1+1))*t(t(1+1+1))+(t(1+1+1))*t(1+t(1+1+1))+(t(1+1+1))*t(11-1-1-1)+(1+1)*t(11-1-1)+(11-1-1-1)*t(11-1)+t(11)+t(1+11))
554295842 (1+1)+(1+1)*t((11-1)/(1+1))+(1+1)*t(t(1+1+1))+(1+1+1)*t(1+t(1+1+1))+(1+1+1+1)*t(11-1-1-1)+(1+t(1+1+1))*t(11-1-1)+(11-1-1)*t(11-1)+t(11)+t(1+11)
580536366 1111111111-(1+t(1+1+1+1)+(1+1)*t((11-1)/(1+1))+((11-1)/(1+1))*t(t(1+1+1))+t(11-1-1-1)+(1+1)*t(11-1-1)+(1+1+1)*t(11-1)+t(11)+t(1+11))
587051904 1111111111-(1+t(1+1+1)+(1+1+1+1)*t(1+t(1+1+1))+t(11-1-1-1)+(1+1+1+1)*t(11-1-1)+t(11-1)+t(11)+t(1+11))
588265985 11+(t(1+1+1)+(1+1)*t(1+1+1+1)+(1+1+1)*t(t(1+1+1))+(1+t(1+1+1))*t(1+t(1+1+1))+t(11-1-1)+(11-1-1-1)*t(11-1)+(1+1)*t(11)+t(1+11))
588298051 11111111+((1+1)+(1+1+1)*t(1+1+1)+(1+1+1)*t((11-1)/(1+1))+t(t(1+1+1))+t(1+t(1+1+1))+((11-1)/(1+1))*t(11-1-1-1)+((11-1)/(1+1))*t(11-1)+(1+1)*t(11)+t(1+11))
590968352 1111111+(1+t((11-1)/(1+1))+t(t(1+1+1))+(1+1+1)*t(1+t(1+1+1))+(1+1+1+1)*t(11-1-1-1)+((11-1)/(1+1))*t(11-1-1)+(11-1-1-1)*t(11-1)+(1+1)*t(11)+t(1+11))
601194306 1111111+(1+(1+1)*(1+1)+t(1+1+1)+t(1+1+1+1)+((11-1)/(1+1))*t((11-1)/(1+1))+(t(1+1+1))*t(11-1-1-1)+(1+1+1)*t(11-1-1)+(1+1+1)*t(11)+t(1+11))
607771869 1111111+((1+1)+(1+1)*t(1+1+1)+t(1+1+1+1)+(1+1)*t((11-1)/(1+1))+t(t(1+1+1))+t(1+t(1+1+1))+(1+t(1+1+1))*t(11-1-1-1)+t(11-1-1)+(1+1)*t(11-1)+(1+1+1)*t(11)+t(1+11))
618578932 111111111+(1+(1+1)*t(1+1+1)+(1+1)*t(1+1+1+1)+(1+1)*t((11-1)/(1+1))+(1+1+1+1)*t(11-1-1-1)+(11-1-1-1)*t(11-1-1)+(1+t(1+1+1))*t(11-1)+t(1+11))
626776380 1111+(1+(1+1)*(1+1)+t(1+1+1+1)+t((11-1)/(1+1))+t(t(1+1+1))+(1+1)*t(11-1-1-1)+(1+t(1+1+1))*t(11-1-1)+(1+t(1+1+1))*t(11-1)+(1+1+1)*t(11)+t(1+11))
667919873 111111+((1+1)+t((11-1)/(1+1))+((11-1)/(1+1))*t(t(1+1+1))+((11-1)/(1+1))*t(1+t(1+1+1))+(1+1)*t(11-1-1-1)+(11-1-1-1)*t(11-1)+(1+1+1+1)*t(11)+t(1+11))
681786366 t(1+1+1)+(1+1+1)*t((11-1)/(1+1))+(1+1+1)*t(1+t(1+1+1))+(1+t(1+1+1))*t(11-1-1-1)+(11-1-1-1)*t(11-1-1)+((11-1)/(1+1))*t(11)+t(1+11)
689854904 1111+(1+(1+1+1)*t(1+1+1+1)+t((11-1)/(1+1))+((11-1)/(1+1))*t(t(1+1+1))+(1+1+1)*t(1+t(1+1+1))+t(11-1-1)+(1+1+1)*t(11-1)+((11-1)/(1+1))*t(11)+t(1+11))
692055400 11+(1+(1+1)*(1+1)+t(1+1+1+1)+(1+1+1+1)*t(t(1+1+1))+t(11-1-1-1)+(1+t(1+1+1))*t(11-1-1)+(1+1+1)*t(11-1)+((11-1)/(1+1))*t(11)+t(1+11))
697665495 1111111111-((1+1)*(1+1)+(1+1)*t(1+1+1)+(t(1+1+1))*t(t(1+1+1))+(1+1+1)*t(11-1-1-1)+(11-1-1)*t(11-1-1)+(1+1+1)*t(11-1)+(11-1)*t(11))
711608194 (1+1)*(1+1)+t(1+1+1)+t(1+1+1+1)+(1+1+1+1)*t((11-1)/(1+1))+t(11-1-1)+(11-1-1)*t(11-1)+((11-1)/(1+1))*t(11)+t(1+11)
734027104 11+(1+(1+1)*(1+1)+(1+1)*t(1+1+1+1)+(1+1)*t(t(1+1+1))+(1+t(1+1+1))*t(11-1-1-1)+(1+1)*t(11-1-1)+(1+1+1+1)*t(11-1)+(t(1+1+1))*t(11)+t(1+11))
750869335 111111111+((1+1)*(1+1)+(1+1)*t(1+1+1)+(1+1)*t(1+1+1+1)+t(t(1+1+1))+(1+1+1)*t(11-1-1)+(1+1+1+1)*t(11)+t(1+11))
757710567 11111+((1+1)*(1+1)+(1+1)*t(1+1+1)+(1+1)*t((11-1)/(1+1))+t(t(1+1+1))+t(1+t(1+1+1))+(11-1-1-1)*t(11-1-1)+(11-1)*t(11-1)+(t(1+1+1))*t(11)+t(1+11))
759967747 1111+((1+1)*t(1+1+1)+t(1+1+1+1)+t((11-1)/(1+1))+(1+1+1)*t(1+t(1+1+1))+(1+1)*t(11-1-1-1)+(1+1+1+1)*t(11-1-1)+(1+t(1+1+1))*t(11)+t(1+11))
777616154 11111+(1+(1+1)+((11-1)/(1+1))*t(t(1+1+1))+(t(1+1+1))*t(1+t(1+1+1))+(1+t(1+1+1))*t(11-1-1-1)+(1+1)*t(11-1-1)+((11-1)/(1+1))*t(11-1)+(1+t(1+1+1))*t(11)+t(1+11))
830071127 1111+((1+1)*(1+1)+(1+1)*t(1+1+1)+(1+1+1)*t(t(1+1+1))+(1+1+1+1)*t(11-1-1-1)+(1+t(1+1+1))*t(11-1-1)+(11-1-1-1)*t(11-1)+(11-1-1-1)*t(11)+t(1+11))
833809927 1111111111-(t(1+1+1+1)+(1+1+1)*t((11-1)/(1+1))+(1+1+1+1)*t(1+t(1+1+1))+t(11-1-1-1)+(1+1+1+1)*t(11-1-1)+(11-1)*t(11-1)+(t(1+1+1))*t(11))
835873060 1111111111-(1+(1+1)+(1+1)*t(1+1+1+1)+((11-1)/(1+1))*t(t(1+1+1))+(1+1)*t(1+t(1+1+1))+(1+1+1+1)*t(11-1-1-1)+(11-1-1-1)*t(11-1-1)+(11-1-1)*t(11-1)+(t(1+1+1))*t(11))
836438554 111+(1+(1+1+1)*t(1+1+1)+t(1+1+1+1)+((11-1)/(1+1))*t(11-1-1)+(11-1)*t(11-1)+(11-1-1-1)*t(11)+t(1+11))
836945593 11111111+((1+1)+(1+1)*t((11-1)/(1+1))+(1+t(1+1+1))*t(11-1-1-1)+((11-1)/(1+1))*t(11-1-1)+(1+t(1+1+1))*t(11-1)+(11-1-1-1)*t(11)+t(1+11))
863728236 1111+(1+(1+1)*(1+1)+(1+1+1)*t(t(1+1+1))+(t(1+1+1))*t(1+t(1+1+1))+t(11-1-1-1)+(1+t(1+1+1))*t(11-1)+(11-1-1)*t(11)+t(1+11))
864158514 111+(1+(1+1)+(1+1+1+1)*t(1+t(1+1+1))+(1+1+1)*t(11-1-1-1)+t(11-1-1)+(1+t(1+1+1))*t(11-1)+(11-1-1)*t(11)+t(1+11))
871273503 111111111+((1+1+1)*t(1+1+1+1)+(t(1+1+1))*t(t(1+1+1))+t(1+t(1+1+1))+(1+t(1+1+1))*t(11-1-1-1)+(1+1+1+1)*t(11-1-1)+(1+t(1+1+1))*t(11)+t(1+11))
881615667 111+((1+1)*t(1+1+1)+t(1+1+1+1)+((11-1)/(1+1))*t(t(1+1+1))+(1+1+1)*t(1+t(1+1+1))+(1+1+1+1)*t(11-1-1-1)+(11-1-1)*t(11-1-1)+(11-1)*t(11)+t(1+11))
891619600 1111111+(1+(1+1)+t(1+1+1)+(1+1)*t((11-1)/(1+1))+t(t(1+1+1))+(1+1+1+1)*t(11-1-1)+(1+1+1)*t(11-1)+(11-1)*t(11)+t(1+11))
897181691 111111+((1+1)+(1+1+1)*t(1+1+1)+(1+1)*t((11-1)/(1+1))+t(t(1+1+1))+(t(1+1+1))*t(1+t(1+1+1))+(1+1)*t(11-1-1)+((11-1)/(1+1))*t(11-1)+(11-1)*t(11)+t(1+11))
918159061 1111+(t(1+1+1)+t(1+1+1+1)+(1+1)*t((11-1)/(1+1))+t(t(1+1+1))+(t(1+1+1))*t(1+t(1+1+1))+t(11-1-1-1)+(11)*t(11)+t(1+11))
920521050 11111+(1+(1+1+1)*t(1+1+1)+(t(1+1+1))*t(t(1+1+1))+(t(1+1+1))*t(11-1-1-1)+(t(1+1+1))*t(11-1-1)+(11)*t(11)+t(1+11))
924502226 (1+1)+t(1+1+1+1)+((11-1)/(1+1))*t((11-1)/(1+1))+(t(1+1+1))*t(t(1+1+1))+(t(1+1+1))*t(11-1-1-1)+(1+t(1+1+1))*t(11-1-1)+t(11-1)+(11)*t(11)+t(1+11)
929983535 1111111111-((1+1)+t(1+1+1)+(1+1)*t(1+1+1+1)+(1+1)*t(1+t(1+1+1))+t(11-1-1-1)+(11-1-1)*t(11-1-1)+((11-1)/(1+1))*t(11-1)+(1+1+1+1)*t(11))
943162304 1111+(1+(1+1+1)*t(1+1+1+1)+t(t(1+1+1))+(1+t(1+1+1))*t(1+t(1+1+1))+(11-1-1)*t(11-1-1)+(t(1+1+1))*t(11-1)+(11)*t(11)+t(1+11))
950210939 111111111+((1+1)+(1+1+1)*t(1+1+1)+(1+1)*t(1+1+1+1)+(1+1)*t((11-1)/(1+1))+(1+1+1)*t(11-1-1-1)+(1+1)*t(11-1-1)+(11-1-1)*t(11)+t(1+11))
950214176 1111111+(1+t(1+1+1+1)+(1+1+1+1)*t((11-1)/(1+1))+(1+1)*t(1+t(1+1+1))+(1+1+1+1)*t(11-1-1-1)+((11-1)/(1+1))*t(11-1-1)+(11-1-1-1)*t(11-1)+(11)*t(11)+t(1+11))
962610357 111+(t(1+1+1)+(1+1+1+1)*t((11-1)/(1+1))+(1+1)*t(1+t(1+1+1))+(t(1+1+1))*t(11-1-1-1)+(1+1)*t(11-1-1)+t(11-1)+(1+1)*t(1+11))
974842859 111111+((1+1)+(1+1+1)*t(1+1+1)+(1+1)*t(1+1+1+1)+t(t(1+1+1))+(1+t(1+1+1))*t(1+t(1+1+1))+(t(1+1+1))*t(11-1-1)+(1+1+1+1)*t(11-1)+(1+1)*t(1+11))
988572832 1111111111-(1+(1+1)+(1+1)*t(1+1+1)+t(1+1+1+1)+t(t(1+1+1))+t(1+t(1+1+1))+(t(1+1+1))*t(11-1-1-1)+(1+t(1+1+1))*t(11-1-1)+(1+1+1)*t(11))

t출력 에서이 모든 것이 무엇입니까 ?
QBrute

@QBrute ㅎ, 단지에 대한 메모에 작성되었다
조나단 앨런

나는 시간이 8:52라고 확신하지만 어.
clismique

SE가 제공 한 타임 스탬프 만 사용하는 것이 좋습니다 (정확한 시간을 보려면 수정 기록에서 대략적인 시간을 가리 킵니다). 점수의 달성 시간은 08:53:13
trichoplax

(이 경우 누가이기는
지에

4

자바 스크립트 (ES6), 27212498, 2016-09-12 09 : 46 : 34Z

f=(n,a='+',s='-',m=n*9+'',r=m.replace(/./g,1))=>r-n?m<'55'?--r/10+a+f(n-r/10,a,s):r+s+f(r-n,s,a):r;
s = '';
[945536, 16878234, 32608778, 42017515, 48950830, 51483452, 52970263, 54278649, 63636656, 78817406, 89918907, 90757642, 95364861, 102706605, 113965374, 122448605, 126594161, 148064959, 150735075, 154382918, 172057472, 192280850, 194713795, 207721209, 220946392, 225230299, 227043979, 241011012, 248906099, 249796314, 250546528, 258452706, 276862988, 277140688, 280158490, 286074562, 308946627, 310972897, 322612091, 324445400, 336060042, 346729632, 349428326, 352769482, 363039453, 363851029, 392168304, 401975104, 407890409, 407971913, 425780757, 459441559, 465592122, 475898732, 482826596, 484263150, 506235403, 548951531, 554295842, 580536366, 587051904, 588265985, 588298051, 590968352, 601194306, 607771869, 618578932, 626776380, 667919873, 681786366, 689854904, 692055400, 697665495, 711608194, 734027104, 750869335, 757710567, 759967747, 777616154, 830071127, 833809927, 835873060, 836438554, 836945593, 863728236, 864158514, 871273503, 881615667, 891619600, 897181691, 918159061, 920521050, 924502226, 929983535, 943162304, 950210939, 950214176, 962610357, 974842859, 988572832].forEach(n => { s += f(n); console.log(n, f(n)); });
l = s.match(/1/g).length;
console.log((s.length - l) * l);

+와-만 사용합니다. 저것들최소화 하기위한 나의 대답을 바탕으로


2106? 이것은 정말 늦은 답변입니다 : P
ASCII 전용

4

파이썬

기본 점수 = 2214138604871819402525

중등 점 = 2016 년 12 월 9 일, 07:53

코드는 다음과 같습니다.

def print_1s(n):
    return ("1+" * n)[:-1]

공을 굴리기 위해서

기본적으로 출력 1+1+1...+1(여기에서 1출력 된 식의 개수 는 같습니다) n.

전체적으로 47054634305 1숫자 집합과 47054634205연산자 (모두 +)가 있습니다.

아이디어를 얻었으므로 여기에 pastebin을 게시하지 마십시오.


이것이 실제로 모든 요구 사항을 충족합니까? 로 호출하면 오버플로 오류가 발생합니다 2**31-1.
Jakube

@Jakube Heh, heh, heh ...
clismique

@trichoplax 어떻게 요약 n-1합니까? 그것은 나를 위해 잘 작동합니다.
clismique

2

어 wk

기본 점수 46933701

보조 점수 2016/12/09 19:20

(6901 것, 6801 ops)

{
    for(b=""; $0; $0=int($0/2))
        b=and($0, 1) b
    for(chall=""; length(b=substr(b,2)); ) {
        if(chall!="")
            chall=chall"*"
        chall=chall"(1+1)"
        if(substr(b, 1, 1)=="1") {
            chall=chall"+1"
            if(length(b)>1)
                chall="("chall")"
        }
    }
    print chall
}

왼쪽에서 오른쪽으로 계산 된 이진 표현을 인쇄합니다.

예를 들어 19는 (((((( 1 ) * 2 + 0 ) * 2 + 0 ) * 2 + 1 ) * 2 + 1 ) 10011입니다 .

난 그냥를 생략 +0하고 쓰기 2(1+1).

이 방법이 어떻게 점수를 매길 지 궁금했습니다.

산출:

945536 : ((((((((((1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) +1) * ( 1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1+ 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1)
16878234 : (((((((((((+1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) *)) ) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1+ 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 +1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1)
32608778 : ((((((((((((+1) +1) * (1 + 1) +1) +1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1 ) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1)
42017515 : (((((((((((1 + 1) * (1 + 1) +1) * (1 + 1) * 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) *) *) (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1 ) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1
48950830 : (((((((((((((((+1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * 1) *) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1 ) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1+ 1) +1) * (1 + 1)
51483452 : (((((((((((((+1) * 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) +1) * () 1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1+ 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 +1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1)
52970263 : (((((((((((1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * ( 1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1
54278649 : ((((((((((((((++)) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1))) ) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1+ 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1 ) * (1 + 1) +1
63636656 : ((((((((((((++)) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1)) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1 ) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1)
78817406 : ((((((((((((((1 (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1)))) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1 ) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1)
89918907 : (((((((((((((1 (1 + 1) * (1 + 1) +1) +1) * (1 + 1) * (1 + 1) * 1) * (1 + 1))) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1 ) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1+ 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1
90757642 : (((((((((((((1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * 1) * (1 + 1) +1)) ) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1 )
95364861 : ((((((((((((((((+1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * 1) * (1 + 1) * 1)) +1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * ( 1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1
102706605 : ((((((((((((((+1) * 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * ( 1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1 ) * (1 + 1) * (1 + 1) +1
113965374 : ((((((((((((((((+ () + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1)))) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1 ) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 +1) +1) * (1 + 1) +1) * (1 + 1)
122448605 : ((((((((((((((+1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * 1) * ( 1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1+ 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1 ) * (1 + 1) * (1 + 1) +1
126594161 : (((((((((((((++)) 1+ (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1 ) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1+ 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 +1) * (1 + 1) +1
148064959 : ((((((((((((((1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * 1) * (1 + 1) +1)))) ) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1+ 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1 ) +1) * (1 + 1) +1) * (1 + 1) +1
150735075 : (((((((((((((1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) +1) * (1 + 1) +1) * 1) * ( 1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1+ 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 +1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1 ) * (1 + 1) +1
154382918 : ((((((((((((((+1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * 1) * (1 + 1) * (1 + 1) * (1 + 1))) 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * ( 1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1+ 1) +1) * (1 + 1)
172057472 : ((((((((((1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) 1) * (1 + 1) *) ) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1)
192280850 : (((((((((((((((+1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1)) 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * ( 1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1+ 1) * (1 + 1) * (1 + 1) +1) * (1 + 1)
194713795 : (((((((((((((1 + 1) * (1 + 1) +1) +1) * (1 + 1) +1) +1) * (1 + 1) +1) * (1+ 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * ( 1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1+ 1) +1) * (1 + 1) +1
207721209 : (((((((((((((1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * 1) *) *) (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * ( 1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1
220946392 : (((((((((((((((1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * 1)) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1 ) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1)
225230299 : (((((((((((((((((++)) * (1 + 1) * (1 + 1) +1) * (1 + 1) * ( 1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1+ 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1 ) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1
227043979 : (((((((((((((+1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) 1) * (1 + 1)) ) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1+ 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1 ) * (1 + 1) +1
241011012 : (((((((((((((+1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * 1) * (1 + 1) * (1 + 1) +) 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * ( 1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1)
248906099 : (((((((((((((++)) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1+ 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1 ) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1+ 1) +1) * (1 + 1) +1
249796314 : ((((((((((((((((1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1)))) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1 ) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 +1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1)
250546528 : (((((((((((((+1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1)) +1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * ( 1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1+ 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 +1) * (1 + 1) * (1 + 1)
258452706 : ((((((((((((((((1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1))) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * ( 1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1+ 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1)
276862988 : ((((((((((++)) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1+ 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1 ) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1)
277140688 : (((((((((((1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) *) *) (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 +1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * ( 1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1)
280158490 : (((((((((((((+1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) 1) * (1 + 1))) ) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1+ 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 +1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * ( 1 + 1) +1) * (1 + 1)
286074562 : ((((((((((((1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) +1) * (1 + 1) * (1 + 1))) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1 ) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1+ 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1)
308946627 : (((((((((((((+ (1 + 1) * (1 + 1) * (1 + 1) * 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) *))) ) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * ( 1 + 1) +1) * (1 + 1) +1
310972897 : (((((((((((+1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * 1)) 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * ( 1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1
322612091 : (((((((((((((((1 (1 + 1) * (1 + 1) * (1 + 1) +1) +1) * (1 + 1) +1) * 1) * (1 +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1 ) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1+ 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1
324445400 : (((((((((((((1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1))) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * ( 1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1)
336060042 : (((((((((((((1 + 1) * (1 + 1) +1) * 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1))) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * ( 1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1)
346729632 : (((((((((((((1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * 1) * ( 1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1 ) * (1 + 1) * (1 + 1)
349428326 : (((((((((((((((+1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +))) 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 +1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * ( 1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1)
352769482 : ((((((((((((((1 + 1) +1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) 1) * (1 + 1)) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * ( 1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1+ 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1)
363039453 : ((((((((((((((+1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) 1) * (1 + 1)) ) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1+ 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 +1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1 ) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1
363851029 : ((((((((((((((((+1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * 1) * 1)) +1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1 ) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1+ 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 +1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1
392168304 : ((((((((((((+1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1))) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * ( 1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 +1) * (1 + 1)
401975104 : (((((((((((((((+1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * 1) *) *) (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1 ) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1)
407890409 : (((((((((((((((+1) * 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) *))) (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 +1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * ( 1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1+ 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1
407971913 : (((((((((((+1) * 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1))) ) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1 ) +1
425780757 : ((((((((((((1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * ( 1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1+ 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1 ) * (1 + 1) * (1 + 1) +1
459441559 : (((((((((((((1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) +1) * (1 + 1) +1) * (1)) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * ( 1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1+ 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 +1) +1) * (1 + 1) +1) * (1 + 1) +1
465592122 : (((((((((((((((++)) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) *) (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1 ) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1)
475898732 : (((((((((((((((+1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1)) 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1 ) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1)
482826596 : ((((((((((((((+1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) *)) ) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * ( 1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1)
484263150 : ((((((((((((((((+ (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * 1) * (1 + 1) * (1 + 1) * (1 +1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * ( 1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1+ 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1)
506235403 : ((((((((((((+1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1)) ) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1+ 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * ( 1 + 1) +1) * (1 + 1) +1
548951531 : ((((((((((((((1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) *)))) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * ( 1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 +1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1
554295842 : ((((((((((((1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * 1) * (1 + 1) *) *)) (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 +1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1 ) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1+ 1) +1) * (1 + 1)
580536366 : (((((((((((((1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * 1 + 1) * (1 + 1) * (1 + 1) * (1 + 1))) ) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1 ) +1) * (1 + 1) +1) * (1 + 1)
587051904 : ((((((((((((((+ () + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * ( 1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1 ) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1)
588265985 : ((((((((((+1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) 1) * (1 + 1)) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1 ) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 +1) +1
588298051 : (((((((((((((1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * 1 + 1) * (1 + 1) +1) * 1) * ( 1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 +1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * ( 1 + 1) * (1 + 1) +1) * (1 + 1) +1
590968352 : (((((((((((((1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * 1) * (1 + 1) +1) *) *) (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * ( 1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1)
601194306 : (((((((((((((((+1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) 1) * (1 + 1))) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1 ) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1)
607771869 : (((((((((((((((1 + 1) * (1 + 1) * (1 + 1) +1) * 1) * (1 + 1) * (1 + 1) *))) (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1 ) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1+ 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1
618578932 : ((((((((((((((((+1) * (1 + 1) * (1 + 1) * (1 + 1) +1) +1) * (1 + 1) * (1 + 1) 1))) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1 ) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1+ 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1)
626776380 : (((((((((((((((1 (1 + 1) * (1 + 1) * (1 + 1) * 11 + 1) +1) * (1 + 1) * (1 + 1)))) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * ( 1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1)
667919873 : (((((((((((((1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1))) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1 ) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1
681786366 : ((((((((((((((((1 (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * 1))) ) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1 ) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1)
689854904 : ((((((((((((((+1) +1) * 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1))) ) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1+ 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1 ) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1)
692055400 : ((((((((((((((((1 (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * 1))) ) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1 ) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1)
697665495 : (((((((((((((((+1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +))) 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1 ) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1+ 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1
711608194 : (((((((((((((1 + 1) * (1 + 1) +1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) *) *) (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1 ) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1+ 1) * (1 + 1) * (1 + 1) +1) * (1 + 1)
734027104 : (((((((((((((1 + 1) * (1 + 1) +1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +)) 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1 ) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1)
750869335 : ((((((((((((((1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) 1)) ) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1 ) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1
757710567 : (((((((((((((((((+ () + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * ( 1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 +1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * ( 1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1
759967747 : ((((((((((((1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) *) *) (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * ( 1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1+ 1) +1) * (1 + 1) +1
777616154 : ((((((((((((((((+1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1))) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1 ) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1)
830071127 : (((((((((((((((+1) * 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +))) 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * ( 1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1+ 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1
833809927 : ((((((((((((((+1) * 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1)))) ) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1+ 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1 ) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1
835873060 : (((((((((((((+1) * 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) *)) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * ( 1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1+ 1) * (1 + 1) +1) * (1 + 1) * (1 + 1)
836438554 : ((((((((((((((+1) * 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1))) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * ( 1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 +1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1)
836945593 : ((((((((((((((+1) * 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1)))) ) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1+ 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 +1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1 ) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1
863728236 : (((((((((((((((((+1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * 1) * () 1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 +1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * ( 1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1)
864158514 : ((((((((((((1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) *)) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * ( 1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1)
871273503 : ((((((((((((((((+1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) +1) +1) * (1 +1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * ( 1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 +1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1
881615667 : (((((((((((((++)) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) *) (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * ( 1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1+ 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1
891619600 : (((((((((((1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) *) *) (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 +1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1 ) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1)
897181691 : (((((((((((((((((((((1 (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) 1) * (1 + 1))))) ) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * ( 1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1
918159061 : (((((((((((((((((((1 (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) 1) * (1 + 1) 1) * (1 + 1)))) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1 ) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1 ) +1
920521050 : (((((((((((((((+1) * (1 + 1) * (1 + 1) * (1 + 1) * 1) * (1 + 1) +1) *)) *) (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 +1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1 ) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1+ 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1)
924502226 : ((((((((((((((1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * 1) * ( 1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1 ) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1)
929983535 : (((((((((((((((((+1) * (1 + 1) * (1 + 1) * (1 + 1) * 1) * (1 + 1) +1) * 1)))) ) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1 ) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1
943162304 : (((((((((((((1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) *) *) (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1 ) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1)
950210939 : (((((((((((((+1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) *)) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1 ) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 +1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1
950214176 : ((((((((((((+1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * ( 1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1 ) * (1 + 1) * (1 + 1) * (1 + 1)
962610357 : (((((((((((((+1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1)) ) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * ( 1 + 1) +1) * (1 + 1) * (1 + 1) +1
974842859 : ((((((((((((((((1 (1 + 1) +1) * (1 + 1) +1) * 1) * (1 + 1) * (1 + 1) +1))) ) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 +1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * ( 1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1
988572832 : ((((((((((((((+1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * 1) * ( 1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1) * (1+ 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) +1) * (1 + 1) * (1 +1) +1) * (1 + 1) +1) * (1 + 1) * (1 + 1) * (1 + 1) +1) * (1 + 1) * (1 + 1) +1 ) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1) * (1 + 1)

2

파이썬 3

기본 점수 : 69720516

2 차 점수 : 09:30 14/09/2016

def genNum(num):
    dic = { 
        6: "(1+1+1)!",
        24: "(1+1+1+1)!",
        120: "((1+1+1)!-1)!",
        720: "((1+1+1)!)!",
        5040: "((1+1+1)!+1)!",
        40320: "((1+1+1)!+1+1)!",
        362880: "(11-1-1)!",
        39916800: "(11)!",
        479001600: "(11+1)!",
        6227020800: "(11+1+1)!"
    }

    lis = [6227020800,479001600,39916800,362880,40320,5040,720,120,24,6]
    out = ""

    for i in lis:
        if num/i >= 1:
            st = dic[i] + "*(" + genNum(num // i) + ")"
            out += st

            if num%i != 0:
               out += "+" + genNum(num%i)

          return out

    else:
        st = "1+"*num

    return st[:-1]

편집 : 이제 곱셈을 사용하여 점수를 크게 줄입니다.

이것은 계승과 재귀를 잘 활용합니다. 전체적으로 프로그램은 다음을 사용합니다.

  • 5958 그들
  • 11702 연산자

무시 했어!


1

자바

기본 점수 1045978739

2 차 점수 12/09/2016 16:05

37193 1s

28123 operators

     void main() {

    int arr[]={945536, 16878234, 32608778, 42017515, 48950830, 51483452, 52970263, 54278649, 63636656, 78817406, 89918907, 90757642, 95364861, 102706605, 113965374, 122448605, 126594161, 148064959, 150735075, 154382918, 172057472, 192280850, 194713795, 207721209, 220946392, 225230299, 227043979, 241011012, 248906099, 249796314, 250546528, 258452706, 276862988, 277140688, 280158490, 286074562, 308946627, 310972897, 322612091, 324445400, 336060042, 346729632, 349428326, 352769482, 363039453, 363851029, 392168304, 401975104, 407890409, 407971913, 425780757, 459441559, 465592122, 475898732, 482826596, 484263150, 506235403, 548951531, 554295842, 580536366, 587051904, 588265985, 588298051, 590968352, 601194306, 607771869, 618578932, 626776380, 667919873, 681786366, 689854904, 692055400, 697665495, 711608194, 734027104, 750869335, 757710567, 759967747, 777616154, 830071127, 833809927, 835873060, 836438554, 836945593, 863728236, 864158514, 871273503, 881615667, 891619600, 897181691, 918159061, 920521050, 924502226, 929983535, 943162304, 950210939, 950214176, 962610357, 974842859, 988572832

};
    int sum=1;
    for(int i=0;i<arr.length;i++){
    System.out.print(arr[i]+":");
        while(arr[i]>11){
            System.out.print("("+"1");
            sum=11;
            while(sum<=arr[i]){
            if(sum<=arr[i])
            System.out.print("*11");
            sum*=11;
        }
        arr[i]=arr[i]-sum/11;
        System.out.print(")");
        if(arr[i]!=0)
        System.out.print("+");

        }
        while(arr[i]--!=0){
        System.out.print(1);
        if(arr[i]!=0)
            System.out.print("+");
    }

        System.out.println();



    }
    }


945536:(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+1+1+1+1+1+1+1+1+1
16878234:(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1+1+1+1+1+1+1+1+1+1
32608778:(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+1+1+1+1
42017515:(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+1
48950830:(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+1+1+1+1+1
51483452:(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+1+1+1+1+1+1+1+1+1
52970263:(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1+1+1+1+1
54278649:(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1+1+1+1+1+1+1
63636656:(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1+1+1+1+1+1
78817406:(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1+1+1+1+1+1+1+1
89918907:(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1
90757642:(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+1+1+1+1+1+1+1+1
95364861:(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11)+(1*11)+(1*11)+1+1+1+1+1+1+1+1+1
102706605:(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1
113965374:(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1+1+1+1+1+1
122448605:(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1+1+1+1
126594161:(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1
148064959:(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+1+1+1+1+1+1+1+1+1
150735075:(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+1+1+1+1+1+1+1
154382918:(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1+1+1+1+1+1+1+1
172057472:(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1+1+1+1
192280850:(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1+1+1
194713795:(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1
207721209:(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11)+(1*11)+1+1+1
220946392:(1*11*11*11*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+1+1+1+1+1+1+1+1+1
225230299:(1*11*11*11*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+1+1+1+1+1+1+1+1+1+1
227043979:(1*11*11*11*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+1+1+1+1+1+1+1+1+1+1
241011012:(1*11*11*11*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1+1
248906099:(1*11*11*11*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+1+1+1+1
249796314:(1*11*11*11*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+1+1+1+1+1+1+1+1+1+1+1
250546528:(1*11*11*11*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+1+1+1
258452706:(1*11*11*11*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1+1+1+1+1+1+1+1
276862988:(1*11*11*11*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1+1+1+1+1+1+1+1
277140688:(1*11*11*11*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1+1
280158490:(1*11*11*11*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+1+1+1+1+1+1+1+1+1
286074562:(1*11*11*11*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1+1+1+1+1+1
308946627:(1*11*11*11*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1+1
310972897:(1*11*11*11*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1+1+1+1+1+1
322612091:(1*11*11*11*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1
324445400:(1*11*11*11*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+(1*11)+1+1+1+1+1+1

나는 당신 1이 각각의 시작 부분에서 불필요한 것들을 제거 할 수 있다고 생각합니다 (1*11*11*...*11).
clismique

1

이맥스 리스프

기본 점수 : 81638725 보조 점수 : 2016
년 12 월 9 일 09:35

(defun 1s (n)
  (let((x 1)r)
    (while (> (/ n x) 11)
      (setq x (1+ (* x 10))))
    (while (> n 0)
      (while (>= n x)
        (push x r)
        (push '+ r)
        (setq n (- n x)))
      (setq x (/ x 10)))
    r))

기본적으로 n에 해당하는 도메인 (1, 11, 111, ...)에 합계를 만듭니다.


내가 이해 한 바에 따르면, 프로그램에서 124와 같은 입력을 받으면 출력합니다 111+11+1+1. (내가 틀렸다면 나를 교정하십시오.)
clismique

(또한 시간은 그리니치 표준시입니다.)
clismique

1
어떻게 <백만의 점수를 가질 수 있습니까? 1100 개의 전체 출력에 걸쳐 모든 s 를 더하고 전체 출력에 대한 총 +연산 수를 곱한 적이 있습니까?
Jonathan Allan

2
이 점수는 81638725입니다.
Jonathan Allan

이것이 왜 다운 보트인지 모르겠습니다. 뭔가 잘못 되었습니까?

1

AWK , 15642720

2 차 점수 = 30 / 05 / 2017, 21:11

BEGIN{RS="[,\n]"}
func f2(x) {
  div=int(x/11)
  mod=x%11
}
func trans(z){
  r=""
  if (z > 6) {
    r="11"
    for (i=11;i>z;i--){
      r=r"-1"
    }
  } else if (z>0){
    r=r 1
    for (i=1;i<z;i++){
      r=r"+1"
    }
  }
}
{n=$1
 do {f2(n)
   trans(mod)
   if (r) s=s"(" r  ")"
   if(div){
     if (r)s=s"+"
     s=s"11*("
     count++
   }
   n=div
 } while(div >10)
 trans(div)
 s = s r
 for (i=0;i<count;i++)s = s")"
 print $1": " s
 slength+=length(s)
 ones+=gsub("1","",s);
 parens+=gsub("[()]","",s);
 ops+=length(s);
 s=""
 count=0;
}
END {
  print "Total string length: " slength
  print "Ones: " ones
  print "Ops: " ops
  print "Parens: " parens
  print "Primary Score="ones*ops
}

온라인으로 사용해보십시오!

사람 : 4590

작전 : 3408 기본 점수 = 15642720 보조 점수 = 30/05/2017 21:11

당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.