QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#316324#8170. $N^a (\log N)^b$ucup-team018#AC ✓3ms10188kbC++202.2kb2024-01-27 19:42:422024-01-27 19:42:43

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 3808kb

input:

N*log(N^2)*log(N)+N+log(N^1+N)^2*N

output:

1 2

result:

ok 2 tokens

Test #2:

score: 0
Accepted
time: 0ms
memory: 3804kb

input:

N*log(log(N))

output:

1 1

result:

ok 2 tokens

Test #3:

score: 0
Accepted
time: 0ms
memory: 3580kb

input:

(((N))*N^234567890+N^2)

output:

234567891 0

result:

ok 2 tokens

Test #4:

score: 0
Accepted
time: 2ms
memory: 5488kb

input:

log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)+log(N)...

output:

0 1

result:

ok 2 tokens

Test #5:

score: 0
Accepted
time: 1ms
memory: 4996kb

input:

log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)*log(N)...

output:

0 14285

result:

ok 2 tokens

Test #6:

score: 0
Accepted
time: 2ms
memory: 6212kb

input:

log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(log(...

output:

0 1

result:

ok 2 tokens

Test #7:

score: 0
Accepted
time: 0ms
memory: 10080kb

input:

((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((...

output:

0 1

result:

ok 2 tokens

Test #8:

score: 0
Accepted
time: 1ms
memory: 3776kb

input:

log(log(N^39187693)^548521633+log(log(N*N^2+N*N^71962925)+log(N*N+N)*log(N+N)+log((log(log(N)^8))*log(log(N*N*N))))*log((N+log(N)*N+N*log(N)^958544341))^978444210)+log((log(N)^573073630)*log(log(N)^857299008)*(N+N^3+log(N))*log(N)+log(log(N^5943+((N*N)*N^3371597)+N*N*(N)*N^3732602)^195356379)^910014...

output:

0 706139983

result:

ok 2 tokens

Test #9:

score: 0
Accepted
time: 1ms
memory: 4016kb

input:

(log((N*log(log(log(N+N))+N*N+log(N*N*log(N)*N+N^88)*(log(N^39775+(N*N*N^39+(log((N^3509)))))^223188793))^106803375*(N*N*N*(N+N)*N^60976)*(log(log(N*N^8*(N*N)+N^4)+log(N)^87804)*log(log((N+N+N^63*N^49+N)+N)*log(N^24556108*log(N^28*(N)+log(N*N+(N)+log(N)^743*N))+N^86041+(N^276*(N+N+((N)))*log(N+N)^75...

output:

0 242619919

result:

ok 2 tokens

Test #10:

score: 0
Accepted
time: 1ms
memory: 3776kb

input:

log(log((((N)*N^60+(N+(N)*N))*N+(N+N)*log((log(N+log(N)^5)^99743452*(N*N*(N)*log(N)^849510749)))*log(N*N^13087+N)+log((N^1000000000*log(N)*N^388)*log(N*N^647*N*log((N^7)+N*N^445)+N)^908094458)^225370592+log((N+N^7467+log(N)^8852684)*log(((N)*N*log(N)^996)))^829473139+log(log((N*N)+N)^683248757*N^385...

output:

2474266 1883498746

result:

ok 2 tokens

Test #11:

score: 0
Accepted
time: 1ms
memory: 3732kb

input:

log(((log(log(log(log(log(log(N)^7)+N^80)*log(log(N+N+(N)+(N)+(N*N+log(N)*log((log(N*N))))*N^2*(log(log(log(N))^921759665)*(N*N)*(N^1)))*log(N+N*(N^409*(log(N+N*N)))*N^6))*(((N^9*N)*log((N+N*N)+N*log(N)^1+((N)*(N*(N+N)+N*N+(N)))))+log(log(log(log(N+N)^831866480)*log((N^633*log(log(N^323*(N))*N^5))*(...

output:

0 2

result:

ok 2 tokens

Test #12:

score: 0
Accepted
time: 1ms
memory: 3788kb

input:

(log(log((((log(log(log((N+N))^413593551)*(((N+N)*N*N*log((N)+N)))+(log(N+N+N+N*N^3+N)^336010059+N*N*log(N*N+N^19033)^825819051*log(N*(N)))+log(N+N+(N)*N*N^851241117*(log(N)^957547))^183676983)*(log((log(N*log(N)^5144*log((N*log((N)+log(N)^554955)))^426823799)^606862955*(((N)+N+N)+N^3)*((((N+log(log...

output:

0 561436137

result:

ok 2 tokens

Test #13:

score: 0
Accepted
time: 1ms
memory: 3712kb

input:

(log((log(log(log((log(N*N*N*(N))))+N+N*N*log(N^100065+N*(N*N)*N^8))^28051665*(log((log((N^4))*N^8)+log(N^458805*N^8+log(N))*log(N)^49+N*N*log(log(N)^75)^897477606)*log(log(log((log(N+log(log(N*N+N*N*N^40624)^262653064)+(N)))+log(N*N+log(N)^78*log(N+N^92+N^8)^396587715)^481112334*log(N+N*N*N+(N+N))^...

output:

1000000076 766522984

result:

ok 2 tokens

Test #14:

score: 0
Accepted
time: 1ms
memory: 3716kb

input:

log(log(log(N)))*(log(((log(N^1000000000+(N^62*N+N*N+log(N)^607183547)*(N*N+N^1000000000+N+N^1570*(N)))*log(N)^903326716*log((N)+log(N))*N^54+(log(log(N*N*N)^750819338)^635614262*log(log(N)*log(N)^490211+N^5+log(N)*N^14866)+log((N^4868))*((N)*(N+N*N^34+N))*log(log((((N+N))*log(N*N+N)^746670308))^987...

output:

0 519078288

result:

ok 2 tokens

Test #15:

score: 0
Accepted
time: 1ms
memory: 3940kb

input:

log(log(log(N)))*(log((log(N*(N*N)+N^96*N^5693*log((N+N+N*N+(N)))^953334725*(N*log(N)^485*log(log(N)^870*N)^906727886)*(log(N*N^82618772*log(N)^8*N)^219169093)*(log(N*N+N)^828072340)+(log(log((log(log((log(log(N)^240108*(N+N+N))^293692287+N*log(N+N*N)*log(N)^190624085)+log((N+N+(N)*N*log(N))*(N+N)*l...

output:

2 2

result:

ok 2 tokens

Test #16:

score: 0
Accepted
time: 1ms
memory: 3716kb

input:

log(log(log(N)))*((log(log(log(((log(N+N+N*N)^530184323*log(N))+log(N^627*(N*log(N)^427))))^126175816+log((N*N)+N)+log(log(N+(N)*(N+N)))+N^91796919*(log(log(N)^749818177+log(log(N*N+N+(N+N))+N*N)))+log(log(log(N*(log(N)^4480*N^99506943))*log(N+((N+N))*N))+N*N^2353*N^8))^212809542*log((N*N^65*(log(lo...

output:

0 915940921

result:

ok 2 tokens

Test #17:

score: 0
Accepted
time: 1ms
memory: 3788kb

input:

log(log(log(N)))*(((log(N+(log(N)+N*(N))*log(N+N))^798474828*(N*N+N*(N)+N)*log(N+N*N+log(N+N^62883435+N)+(N+N)*(N)*N^83877)+log(log(N)^56678*log((log(N*log(N)+N^29)^98989911))^527370914*log((log(N)^26883189)+log(N^7+N+N+N^996405+log(N*(N)*log(N))^33517755)+log(N+N+N))+log(N^373*(N)*log(N+N)^56626574...

output:

593433204 118198369

result:

ok 2 tokens

Test #18:

score: 0
Accepted
time: 1ms
memory: 4168kb

input:

log(log(N))^838581491*log(log(log(N)))^771838880*log(log(log(N)))^984794424*N^143685367*N^670902660*N^308600390*log(log(log(N)))^487833964*log(log(log(N)))^19986435*N^798013837*N^453144760*N^394168537*log(log(log(N)))^546955039*N^898890660*N^682322117*N^889322557*N^407917496*N^221994691*N^224405173*...

output:

679935528138 1

result:

ok 2 tokens

Test #19:

score: 0
Accepted
time: 1ms
memory: 4224kb

input:

log(log(log(N)))^711127206*N^185033389*N^571634726*N^800764746*N^761655533*log(log(N))^194596208*log(log(N))^473730093*N^942121502*log(log(log(N)))^943058044*N^406731292*N^784640780*N^907283134*N^771151830*N^237400284*log(log(log(N)))^4082846*log(log(log(N)))^553480158*N^83262231*N^185814435*log(log...

output:

1370636995419 1

result:

ok 2 tokens

Test #20:

score: 0
Accepted
time: 1ms
memory: 4348kb

input:

N^412975564*log(log(log(N)))^714491638*N^742156485*N^74449852*log(log(N))^188944493*log(log(log(N)))^143743726*log(log(N))^165136661*N^729772677*log(log(N))^621858429*N^778492004*N^694174771*N^266768497*log(log(N))^216295412*log(log(N))^478853380*N^847290570*N^334927888*N^625411332*N^628875800*log(l...

output:

1341926800671 1

result:

ok 2 tokens

Test #21:

score: 0
Accepted
time: 1ms
memory: 4524kb

input:

log(log(N))^434642403*N^440813390*log(log(log(N)))^301330411*N^753197419*log(log(N))^84423050*N^655998048*N^332499052*N^274185759*log(log(N))^494198745*N^616392008*log(log(N))^184812982*N^583431820*log(log(N))^681286109*log(log(N))^10068687*log(log(log(N)))^424129448*N^478422*log(log(N))^753177019*l...

output:

1382060561459 1

result:

ok 2 tokens

Test #22:

score: 0
Accepted
time: 1ms
memory: 4528kb

input:

log(log(log(N)))^766305539*N^634603577*log(log(log(N)))^173507038*log(log(N))^897033506*N^34630329*log(log(N))^291097249*N^485280920*N^645157708*N^694269808*N^273193565*N^643953068*log(log(N))^84740350*N^932801837*log(log(N))^387579512*log(log(N))^700638013*log(log(N))^718026139*log(log(N))^68036822...

output:

1410454687913 1

result:

ok 2 tokens

Test #23:

score: 0
Accepted
time: 1ms
memory: 3716kb

input:

log(N^56364*N*(N^14+((N^1)))*log(N)^79*log(N*N*(N*N))^44982398*N^50574343+N*N*log(N)^30945)*log((log(log(log(log((N)*N^68261717+N^55*N*(N))*(N*log(N*N)^434136131))^984970916+((N))*(N)*(N)*(log(N))+N+log(N)*log(N+N^32+log(N+(N))^551230789)^724093472)*(log(log((N+N+N*N*(log(N)^4686))*(N))^203362047+(N...

output:

25334 2077316115

result:

ok 2 tokens

Test #24:

score: 0
Accepted
time: 1ms
memory: 3720kb

input:

log(log(log(log(log((log(log(log((N)*log(N+N)^221368132+N*N+log(log((N)+N+N)+N)^840025049+(N+N)))^348094141)*log(log(N+log(log(log(N)^2146522))*N+N*N))))*(N+N+(N+N^92+N+log(log(N)^8808+(N+(N^8275))+N^34251)^744192571+(log(N)^49*(N+N)+log(N*N)*N^15)+(N+N)*N*log(N*N+log((N*N)*N)*N+N*(N+N*N^6*N^1)))*lo...

output:

0 670936656

result:

ok 2 tokens

Test #25:

score: 0
Accepted
time: 1ms
memory: 3752kb

input:

log(log(N)^595386272)*log((log(N+(N+N+N*N^912412))^672770505)*(N+N)*N^46*N^7280)^246461179+(log(N^419*N^9403)^47351464)+log(N)^731939217+log((((log(N*N*(N^644354+N*N^393*log(N+N)^263203649))^294194573+N)+(N^571174337*(((N*N)+N^754)))+(N+N*N*N)+N*log(N)^315972208)+(N^1000000000+(N))*(log(N*N^24*(N^2+...

output:

0 731939217

result:

ok 2 tokens

Test #26:

score: 0
Accepted
time: 0ms
memory: 4012kb

input:

log(log(log(log(log(N+N*N+log(N^4)^870767978+((N*N+log(N))+log(N))*log(N+N*N+N^62+N*(N*N)+log(N)^58534*log(N)^20)^975483331*log(log(N^2+(N))+log(N^40*(log(N+N)*N))+(log(N+N^77)*(N+N+N)+log(N)^54)*log(N^410163182)+((log(N+(N*N)+log(N)+N^16+log(N*log((N)+N)*(N+log(N)^414010)+log(N+N*N^2204))^104549873...

output:

1 2104502963

result:

ok 2 tokens

Test #27:

score: 0
Accepted
time: 1ms
memory: 3716kb

input:

log(((log(N+N+log((log((N)*N*N^1795))))^799654687*((N))+(N*N*log(N)^748653473)*N^508135169)*((N*N+N+N*N^9+(N+N+(N))*(N*N)*N^321939)+N)*log(log(log((N+N))^646181847*(N+N+N*N+N^9)*log(N)^13004*log((log(N+N+(N)*N+N+log(N*N*(N)+N^7)))*(N^2*(N+N)))^613721843+log((N+N+N+(N+(N))*log((N)*((N*N)))^306419949)...

output:

0 220252099

result:

ok 2 tokens

Test #28:

score: 0
Accepted
time: 1ms
memory: 3784kb

input:

log(log(N+N*N)*N*(N*log(N)^8574+log(((N)*N+N^5138)+N^4*N)^382334404*(((N^4)+N)*log(N+(N)+N)+N)+N*N^5*(N+N+N*N))*log(N+N+log(N)^786)^331913799+N+(N+N+log(N+N)+N^88*log((N)*(N)+N))*log(N*N^6*(log(N+N*N*N*N^45)*N))^775053891+((log((N))^521940832*log(N)^152*log(log(log(N*N)*log(N+N)^365672185)+log(log(N...

output:

0 916309582

result:

ok 2 tokens

Test #29:

score: 0
Accepted
time: 0ms
memory: 3772kb

input:

log(log((log(log(N+(N*N^10+((N))+(N^866)))*log(N+N+log(N+N^9692*N)+N+(log(N)^5135246)*N^100102*N^974038140+log(log(log(N^9361+N^30333+N)*log(N)^858034)*(log(N)^52)+N*log(N*N))^333159610+(log(log(N*N))*N+log(log(N*N)^717459091)+log(log(log(N)*N^98924)^649321351)^596554232))*log((log(log(N+N*N)+log(N)...

output:

0 1

result:

ok 2 tokens

Test #30:

score: 0
Accepted
time: 1ms
memory: 4020kb

input:

((log(log(N*N^43*N+N*((N))*N+log(N+N+N^9511*N)+log(log(N)^935090685+log(N+(N+N))^993542318)*log(log(N*log(N)^116)^349003453)^231183205*log(log(log(N)*N^226708780*(N))*log(N)^6)*(N*(N)*N^2240511*(log(N+N))*((N)+N*(N+N)*(N+N))*log(log(log(N+N+log(log(log((N)+N+log(log(N)^8601*N)^235474122+(log(N)^70))...

output:

0 1

result:

ok 2 tokens

Test #31:

score: 0
Accepted
time: 0ms
memory: 3784kb

input:

log(log(log(log(N+N^4*N*N+N*N*log(N*N+N)*(N*N*log(N*(N))^923589632)*log((N+N*N)*log(N+log(N*log(N+N)))^167315494*N^33))^584427477*((log(N^3*log(N+N+N)^938930096*log(N+log(N+N)^285265397+N+N+N)^129539562)^880102730)*log((N)*N)^345574936)+log(((N*(N)*(log(N*N+N))*((N*log(N)^5597997*(N+N+N*N)*log(N*N)+...

output:

0 1

result:

ok 2 tokens

Test #32:

score: 0
Accepted
time: 1ms
memory: 3780kb

input:

log((N+N+N*N)+log(N*N*N*log(N^401+log(N*(N)*N^629847*log(N*N^8*log(N)^36))^964771375))^266489810+log(log(N)^1824312*log(N+log(N)^56*log(log(N^1000000000)^818250864)^914779668*log(N*(N*log(N)^7+N))+log(N*N+N)*N+log(log(N*N*(N)*N*(N*N)*(N)+N)))^625965460+N*log(log(log(N*N+N)+N^491*log(N*N^6))+(N+N+(N)...

output:

81 1536787010

result:

ok 2 tokens

Test #33:

score: 0
Accepted
time: 1ms
memory: 4960kb

input:

N*N*N*N^795*N^54689008*N^664*N^2495681*N^35*N^96*N^238009*N*N^869146*N^503184*N*N^212041508*N^8808641*N*N^385*N^1000000000*N^298*N^1000000000*N*N^121*N^1507705*N^5*N^982693*N^5557*N^46503752*N^5833620*N^777*N^5674194*N^8871*N^78*N^81*N^51*N^654263128*N*N^9*N^9383*N^411*N^2142*N^74234*N^829535*N^2701...

output:

1785895654901 0

result:

ok 2 tokens

Test #34:

score: 0
Accepted
time: 1ms
memory: 5220kb

input:

N*N*N*N^1560896*N^5*N*N^3471080*N^92944*N^1000000000*N*N^12223*N^54591*N^6075*N^25474*N^856769*N^22*N^98843*N^493888280*N^569024*N^998*N^260*N*N^48465630*N^1*N^9229*N^382*N^1000000000*N^456210589*N^324*N*N^49588*N^23*N^2138392*N^328540049*N^82*N^258088*N^78779*N^174298*N^19*N^91016882*N^18*N^9089074...

output:

1816118738933 0

result:

ok 2 tokens

Test #35:

score: 0
Accepted
time: 1ms
memory: 4664kb

input:

N*N*N*log(N)^72420666*log(N)^274587891*N*log(N)^39838925*log(N)^27455*N*log(N)^1*log(N)^2052*N*log(N)^90961937*N*log(N)^913724663*N*N*log(N)^6005*N*N*log(N)^156729*N*log(N)^979728*log(N)^90713638*log(N)^2*log(N)^7382*log(N)^86998703*log(N)^22688313*N*log(N)^97388*N*N*log(N)^907*N*log(N)^8091648*N*N*...

output:

4237 624561118997

result:

ok 2 tokens

Test #36:

score: 0
Accepted
time: 1ms
memory: 4916kb

input:

N*N*N*N*N*log(N)^6128*log(N)^776290026*log(N)^511948*log(N)^77427952*log(N)^55631616*log(N)^81*log(N)^5*N*log(N)^5*log(N)^83066038*log(N)^1790*log(N)^689128213*log(N)^31190121*N*log(N)^3*log(N)^300381869*log(N)^37*N*N*log(N)^439212*log(N)^722149*log(N)^666466314*log(N)^85*N*log(N)^27317*log(N)^7*N*l...

output:

4191 620716128012

result:

ok 2 tokens

Test #37:

score: 0
Accepted
time: 1ms
memory: 4948kb

input:

N*N*N*N^746423*N^1727*log(N)^92052497*N*log(N)^66*N^69372*N^5317*log(N)^831958313*log(N)^6857*log(N)^958*N*log(N)^681713*N^5258*N^796712587*N^15156165*log(N)^8557433*N^86*N^9*log(N)^5091468*log(N)^661184281*N^382008*N^1183*N^47*log(N*N)^1776564*log(N)^89473*log(N)^152945*N*log(N*N)^10744331*N*N^5803...

output:

459528294035 648804446715

result:

ok 2 tokens

Test #38:

score: 0
Accepted
time: 1ms
memory: 4648kb

input:

N*N*N*N^53795751*N*log(N)^39348*N^1000000000*N^93*N^52*log(N)^813378874*log(N)^152933662*N*N*log(N)^3*N^1000000000*N^374439233*N^44*log(N)^3640510*log(N)^6048866*log(N)^8*log(N)^574791915*N*N^667*log(N)^9444823*log(N)^776357*log(N)^76839428*log(N)^5359179*log(N)^891*N^2175*N^799779281*log(N)^701*N^1...

output:

500287456961 627751409786

result:

ok 2 tokens

Test #39:

score: 0
Accepted
time: 1ms
memory: 3976kb

input:

log(log(log(log(log(log((N)+(N)*N)*N*N^67+(N+N*(N)+N)*(N))*((N)*N^4936*N*(N*N))*(N*log(N+N*N)+((N*N*N*N)*log(N))))^773439650*log((log(N*N^2*((N^7*N+log(N*N)^227140685))*log(log(N*N*N^3*(N^5366*N^6*(N^673043*N)))^557054083+(N*N*N*N)+N^1000000000+(N^685155+N+N*N*N))*log(log((log(N*N*N^76+(N))))^558927...

output:

1 0

result:

ok 2 tokens

Test #40:

score: 0
Accepted
time: 1ms
memory: 3712kb

input:

(N)*log((((log(log(log((N^36615*(log((N)*log(((log(N)^75963)*log(N)+(N+N+N*N*N)+N*N))^854499376+N*N*(N)))*(N+N)+(log(N+N*N*N)))*log(log(log(N))^272738809*N*log(N+(N)+log(N^85)^542337722)*N^62+N*N)*log(log(log(log(log((N+N+(N)+log(N)^6219)))^764446337+log(N+N+N))^518543491*log(log(N)^24886679+N*N+(lo...

output:

893847029 3

result:

ok 2 tokens

Test #41:

score: 0
Accepted
time: 1ms
memory: 3688kb

input:

(log((log((log((log(log(log(log(log((N)*N^556*((N*N^100)*N+N)+N*log(N)^908*((N)))*N*((log(N)*log(N)^937*log(N*N+N)))*N*(N^7*log((N+N))*log(N)^383603+log(N)^2314724*(N*N)))*log(((log(N)^825770033*log((N+N+N+N)+N*N))+N*(N)+N^74169*(N))*log(N*N^1000000000*log(N+N*(N)*N)+N+N)+(N*N+N*N)+N*N^532*N)+(N*N)*...

output:

799 2

result:

ok 2 tokens

Test #42:

score: 0
Accepted
time: 1ms
memory: 3720kb

input:

(log((log(log(log(log((((log(N+log((log(log(N^154*((N)+N+log(N)^2)*(N)*log(log(N+(N+N)))*log(N)^39254529)*N^50241470)+log(N)^493566588))^637132417*log(N)^6655*(N+N^530773)))*(N)*N^93319)+N^1104552+log((log((log(log(N+N)^37964850+N^73+log(N*(N)*log(N)+(N*(N+N)+N+log(N)^333180579+N*N^67+N*(log(N+log(N...

output:

80848956 377671959

result:

ok 2 tokens

Test #43:

score: 0
Accepted
time: 1ms
memory: 3720kb

input:

log(log(log(log(((log(log(log(log(log(log(log(log((N+log((N*N)))+(N+N+N^126+N+log(log(N)+N*N*(N))*log(N+log(N+N)+N))+((N*N^5*N^5*log(N)^750247*log(N)^355016842*N+log(N)^85486044+N)*(N+N)*(N))*N^7*N^95)^539913710*log(N+N+N*N*N+N)*(N)))^584232611)^725760541*(N+N)*log(N+N)^179817832*(N+log(N^34+(N+N)))...

output:

2 1

result:

ok 2 tokens

Test #44:

score: 0
Accepted
time: 1ms
memory: 3728kb

input:

log((log(log(log(log(log(log(log(log(((log(N+N^82*N*N^5*N+N^25190189)^423778745)+log(log((N^46542)*log(N+N+log(N))+N^3196+log(log(N^19095635*(N^1000000000))^18965659)^153588600)))*log(N*(N))^176602787*N)^740047027)*log(N*(N+N))+log(((N+N+(N)))*((N^4))*N^273680341*N^84))^7628047)^784962505*log(log(N)...

output:

6 1

result:

ok 2 tokens

Test #45:

score: 0
Accepted
time: 1ms
memory: 3784kb

input:

log((log(N*(N)*(N)+N+(N))+(log(log((N)*log(N)))*log(N*(N)))+log(log(N*log(N)+log(N+N+log(N)+(N)+N*N+N*N))*(log(N*(N)+((N))))*(log(log(N+N*N+N*(N))*(N+(log(N*(N)*((N))*(N+N)*(N*N+N*(N+N+N))))+(N)*(N)+(N+(N))*log(log(N*(N*log(N)+N+N))))*log((N+N)+N+N+N+log(N*N+N+log((N))+(N*(log(N+N)*((N+N)+(N*N))))*N...

output:

0 4

result:

ok 2 tokens

Test #46:

score: 0
Accepted
time: 1ms
memory: 3784kb

input:

log(log(((log((N)+N*N+N)*log((N*N)+(log(log(N+N+N)*N+log((N))))+log(N+N+log(log(N+N))))*log(((N*N+N)*(log(N)*log(N+N)))*log(N*log(N)+log((N+N)*N*N)*(N+((N))+N*(N*N))*log((log(log(N+N+N)+log((log(N)*log(N+N)*(N+(N+N)*(N)+((N+N))))*(N+N*N)+log(log(log((N)*(N)))*(N))*(N+N))*((((N))*(N))*(N)*log(log(N*N...

output:

11 3

result:

ok 2 tokens

Test #47:

score: 0
Accepted
time: 1ms
memory: 3716kb

input:

log(log(log(log(log(log((N*N+log(log((N)+((N+N))*(N)+((N+N+log(N+N+(N)))+N)+N+((N)))*(N*(N)*((N))*(N+N*(N*N+N)+(N)*((N*N+N)+(N)))+N*N*(N)*(N)))*(((N)+N+log(N+(N*N)*(N)+log(N+(N)*N))+N*((N*((N+N+(N*(N)))))))*N)+(N+N+N*N+N)*log(log((N)+log(N*N*N*(N+N)*((log((((N))+N))+N)*(N+(N)+log(N)*(N))))))+log(N*N...

output:

0 1

result:

ok 2 tokens

Test #48:

score: 0
Accepted
time: 1ms
memory: 3668kb

input:

(N+N+(N)+N*N+(N*N))*(log(N^3960*(N+N+N*N))^766408988)*((log(N+N^84779)^590845169+N*N*N*log(N+N*N^9)^96103115*(N+N^104321)*log(log(N^3*log(N)^74797)^908586047)^504486995+N^84+N^271*(log(N+N)^561058445*(N*N)+N+N+(N+N*(N))+((N+N+N*N^638)+log(N*(N*N*(N*N)*(N)+N*log(N)^8)*log(N+N+N*(N)*N)^75099507*(N+N+N...

output:

1064718084 7181387457

result:

ok 2 tokens

Test #49:

score: 0
Accepted
time: 1ms
memory: 4016kb

input:

(log((log(log(N*N^77*(((log(N)^80953)+(((log(N+N+N^493+N+N)^291955428+log(N)^9001552))*((N)+log(N)^3+log(N)^749394+(N+N)))))*((N+(N^817892)))*log((N^851250234)*log(N)^1+log((N+N+N*N^977295+N*N+N*N))^127968076+log((N*(N*N*(N*log(N*N+(N+N))^459188284)*log(N)^276453177)*(log((N+N+(N*(N)+(N*log(N)^478)*...

output:

7 987903555

result:

ok 2 tokens

Test #50:

score: 0
Accepted
time: 1ms
memory: 3768kb

input:

log((N*N^354+N*N)+log(N+(N)+log(log(N*(N*N))^248902425*((N*N^34)*(N+N+N)))^345216179)^245541813*log(log(N+N*N*N+N^5180)^329943092)^565359906+N+log((log((N)*N^37*log((N+N+N)*N^1000000000)^274815127)^309378149)+((((N*(N+N+N*N^3+(log(log(N^94421)^554121521*(N))^193058112+N^75018)*log(N)^1109))))*N^564)...

output:

278804 5031891223

result:

ok 2 tokens

Test #51:

score: 0
Accepted
time: 0ms
memory: 3640kb

input:

log(log(N*(((N+N+N^92+log(N^1000000000)^148260432+(N+N+N*N)))))^547127765+N^3*N)^885926652

output:

0 885926652

result:

ok 2 tokens

Test #52:

score: 0
Accepted
time: 0ms
memory: 3580kb

input:

log(((N*N)*(log(log(N)^567771715)))*log(N^7*(N+N)+N+N+(log((N*(N+N)))*N^4695839+N*N*N*(N)*(N))*N*N^6*log(log(N)^524)^258790830*log(N)^905640628)*log((log(N))*log(N)^606970*N*log(log(N+N+N^4)^213050062)^252835827)*(N^867*(N)))

output:

0 1

result:

ok 2 tokens

Test #53:

score: 0
Accepted
time: 0ms
memory: 3644kb

input:

log(log(log(N^6497684+N)^560771938*log(N)^4382552)+log(log(N)+N*N^5*N+N*log(N)+(log(log(N+N+N*N^86+log(N)^17473*log(((N))+N+(N))))^491112524))^102018268+(log(N^41*N+log((N))^455419173*N^776228+N*(N)+N*log(N)*log(log(N^95+N^9+N*N)^781468417))*log((N)*N*(N)*(N)*N^8853+N*N^2559+log(N)^956)^420222940*lo...

output:

0 1

result:

ok 2 tokens

Test #54:

score: 0
Accepted
time: 1ms
memory: 3776kb

input:

log((log(log(log((log(((N)+(N)+N*N*N+N*(N*N)*N^612479))*(N)*log(N)^496269))*(log(N*N)^759146885)+N*(N+N+N+log(log(log((log(N+N^60820+N+(N)))))^720717960)*log((N+N*N*(N)*N^140+N)*log(log(N*(N)*N)*N^302*log(((N*N*N*N)+N)))^502728362)^856326466))^78077486+N*N+log((log(N)+log(N*N)+log(N^36581*log(N)^923...

output:

0 354927699

result:

ok 2 tokens

Test #55:

score: 0
Accepted
time: 0ms
memory: 3812kb

input:

log(log(log((N)+N*N*N^74)*N*log(N+N*N*N+(N*N)*N^27925456+N)^101919666*(N^579717)))

output:

0 1

result:

ok 2 tokens

Test #56:

score: 0
Accepted
time: 0ms
memory: 3580kb

input:

log(log(log(log(log(log(log((((log(N*N)^638352518*(N+N+log(N+(N))+log(N)^7*N^491725)*(((N+N*N)*log(N)+N))*log(N*(N)*(N)+(N)*N*N+N^16))))+log(N)^5161709*log(N)*log(log(N)))^266495297)^497223039))^634335181)^282527261+(log(N*log(N)^2*(N+N+(N+N)+N*(N+N)*N)+log(N)^40*N^39158*(N^8988511)))*log(N^180*log(...

output:

1000073577 1889331

result:

ok 2 tokens

Test #57:

score: 0
Accepted
time: 0ms
memory: 3680kb

input:

log(log(log(N+N+N+((log(N*N^2*(log(N)))+log(log((N*N)*(N*N^5)*N^300)^227717031*((N^3*(N+N)+N*N^60447918*log(log(N^1*N^5*(N+N)*N)^24079100*log(N+N*(N)*(N))^412390667*log(N^13+(log(N)^58928)+N^2222688))^943892728)))))))+log(N^995*(N)))*log(log((log(N+N+N*(log(N)^75)+log(N+N+N+N^70+N^442205038+N*N))*lo...

output:

66 538454236

result:

ok 2 tokens

Test #58:

score: 0
Accepted
time: 1ms
memory: 3712kb

input:

log((log(log(N)*log(N)^54*(N+N+N))*log(N*N^34*log((N+N*N*N^4796)))*log(N*(N)+(log(N+N)^168106022+N^630+log(N)^411*((N+N+N*N)))*log(log(log(N+N)^776191608)+N*N*N*log(N+log(N)))^312091627)^596132119*log(N*N*N*log(log(log(N*N*N*log(N)^982545496+N^6*(N+N))*N*log((N+N)))+log((N+N+N^99+(N)*(N)+N)*log((log...

output:

5614084 126560991

result:

ok 2 tokens

Test #59:

score: 0
Accepted
time: 0ms
memory: 3648kb

input:

log(N^2815+N*N)^188712556*log(log(N)^562)*(N)

output:

1 188712557

result:

ok 2 tokens

Test #60:

score: 0
Accepted
time: 0ms
memory: 3580kb

input:

log(log(N^5+log(N+N)+N)^85134936*(N))^144590331+((N*log(log(N)^39341)*N^375)*log(N)^4337)+N*N*(N*N^5*(log((log(N)^55572936*log(N*N+N)^601594884)+N^44*(N*N*N)*log((log(N)^788724218*log(N+((log(N*N)^25120668+N+N^2*N^8+N)*log(N*N^5)))))*(N^1396573+log((N))^927772510+log(N*N^3*N)+log(N+N+N+(N*log(log(N)...

output:

376 4338

result:

ok 2 tokens

Test #61:

score: 0
Accepted
time: 0ms
memory: 3556kb

input:

(((N)*(N*N)*(N)+(N)*N)*N^63728308*(N+log(N^69*(N))*log((log(N)*N)))+log(N*log(log(N)^4929*log((N)+N))^581657510)^704337445)*log(log((N)+(N+N))*(N+N)+(N+N+N)*N^8426263+N^596003401)^769546742*log(log(log(log(((log(N*(N)))*(N^64782*N+N^13398))*log(N)^9)*(log(N^4+N)^949759602+log((N+N+N))*N^609945)+log(...

output:

63728313 769546743

result:

ok 2 tokens

Test #62:

score: 0
Accepted
time: 1ms
memory: 3716kb

input:

log(log(log(log(log(N*(N+N*N+N*(N))+N+log(N)^71962873*N)^816640318+log(log(N)*(N)*((log(log(N^100*log(((N*(N)+N^243)))))))*(N*N*log((log(N*N^56)^315280686))^650102951))+log(log(N^7*N+(N+log(N)^477+log((N+N)+N*N*log(N+N+N))))^171525923*(log(N^3232+(N)+N+N*N+((N+N)))+N*N)+N*log(log(N)^832700913*N^42+N...

output:

0 1

result:

ok 2 tokens

Test #63:

score: 0
Accepted
time: 0ms
memory: 3788kb

input:

log(N*N*N*log(log(log(N*(N)*(log((log(N))*log(N)^874))))*(N*N))*log(log((log((log(((N)*log(N)*N))*((N*N)*(N))*(log(N*log(N))^309560601)))^365037512*log(log(log(N)^3170)*log(log((N)))*(N)*log(((log((N)*N))*(N)*(N)))^478862819)*log(log(N*N)^96003034*log(log(log(N)))^56658008)^775576666)*log(N*N*log(N*...

output:

0 1

result:

ok 2 tokens

Test #64:

score: 0
Accepted
time: 1ms
memory: 3716kb

input:

log(log(log(log(log((N)*log(N)^70543228*(N*N))^563164673*log(N)^4036606*log((log(log(((N)*N*(N)*log(N))))*((((N*N)*N*(log((log(N))*(N))*((N)))*log(log(N*(N))*(N)*log((N))^845087034))))))^43188879*log(log(log(N*N*log(log((((log(N*N*log(N)^4877)^686678652))))*log((log(log(N*(((log(log(N)))))*log((log(...

output:

0 1

result:

ok 2 tokens

Test #65:

score: 0
Accepted
time: 1ms
memory: 3720kb

input:

(log(log((log(log(log(log((log((log(log(N)))*log(log(N*log(log(log(log(log(N)^6308)*log(N)^280*log(N)^7881)^816261275))^826746574)^920944596*(N)*((log(log(log(N)^309129809))*log(N*log((N)*log((N))*log(log((N)*N*log(((N))*log(N*N)*log((((N*N)))*(N))))^506780044)))^322618051)*log(((log((N)*N)^44401729...

output:

1 8885

result:

ok 2 tokens

Test #66:

score: 0
Accepted
time: 1ms
memory: 3720kb

input:

log(((log((N)*((N*(N^7*log(N)^55))*log(N*log(N)^68)*N+log(N*N+N*N)^292384239*log(N)*((N+N+N*(N))*N+log(N)^8*(N+N^646+N*N+log(N))*N^18023*N)+log(log(N)^530312019+N*N*N*N*N+log(N^654*N^936*N^6*log(N)*log(log(N+N*N)^641629687)^548225450)+log((N)*N*(((N+N))))*log((N*((N))))^140158304*log(N)^76539*log(N^...

output:

0 533678058

result:

ok 2 tokens

Test #67:

score: 0
Accepted
time: 1ms
memory: 3724kb

input:

log(log(log(log(N*N^5*(N))*N*N)*((N*N^63801648+(N+(N)*N^6+N)+N*log(log(N)^1384359)^866575590*log((N*N+N^656+N^23)*N)*log(log(N+N^102*N^9))^237372471)*log((N)+N+N^322316*N*log(log(log(N+N+N*N+N)+log((N^566*N+N*N)))))^95107061+N*N*(log(log(N)^3926*log(log(N)^37591550*N^890667557))))*log(log((log(N+N+N...

output:

0 1

result:

ok 2 tokens

Test #68:

score: 0
Accepted
time: 1ms
memory: 3956kb

input:

(log(log(((N*N^79*(N^1*N*(N*log(N+N)+(N^1*N*N^2)))+log(N+(N)*N+N^9*N))*log(N+log(N+log(N*N)+N*N^77*N+N)*N^711)^294756322+log(N*N*(log(N)+N)+N*N)*log(N^64*N^4))+(N+N^626+log(N)^11299+N*N*N*N^9))*log(log(N^285113*N^2813*(log(log(N+N+log(N+(N)))*N^6245)^91461374)))*log(N+N^5289*N*N+N*N*log(log(N*((N+N+...

output:

1003406214 997604046

result:

ok 2 tokens

Test #69:

score: 0
Accepted
time: 1ms
memory: 3980kb

input:

log(log(N+N+N+log(N^273769024*N*log(N))^412860505)*log(N*N^118*log(N+log(N)^53409698)^323517112)^530852012*((log(log(N^503404494*(N*N)+((N*(N+(N*N+N)))*N+log(N+N)^426045841+(log(log(N)^6164217+N*N)+log(log(N+log(N)+(log(N)*N)*(N))))*N^27289+log(N^1000000000*((N)))^204080591)*log(N+N*(N)+log(N))^8088...

output:

0 617978888

result:

ok 2 tokens

Test #70:

score: 0
Accepted
time: 1ms
memory: 3776kb

input:

((log(log((N^6687*N^881851)*log((N*N+N+N^522382*(N)+N*N+N))+log(log(log(N*N*(N)*log(N+(N)))*N+log(N))^897135084*(N*N^2)+log(N+N^403953931+N*N*N^502)^430603619*log((N))*log(N)^896*log(N)^9878283)+N*N^11+N^538*(N^63469444+N*log(N^41)+(N^1136)))^984569104*((N)*(N+N)*N*log(N)^328*log(log(N)+(N)*(N+N))^3...

output:

0 1235662396

result:

ok 2 tokens

Test #71:

score: 0
Accepted
time: 1ms
memory: 3824kb

input:

log(log(log(log((log(((log(((((log(log(((log((log(log(log(log(log(log(log(log(log(log(log(log((log(log(log(log((log(log((((((log(((log((log(log((log((log((log(log(log((((log(((log(log((log(log(log(log(log((log((((((log(log(log((log(((log(log(((((log(log(((log(log(((((log(log(log(log(log((log((log(lo...

output:

0 1

result:

ok 2 tokens

Test #72:

score: 0
Accepted
time: 1ms
memory: 3852kb

input:

((((log(log(log(log((log(((((log((log((log((log((log((log(log((((log(log((((log(log(log((log(log(log((log(log((log(((((log((log(log(log(log(((log(log((log(((log(log((((log(log((log(log(log(log(log(log(N*((N)))))))))))))))))))*(((log(log((log((((N)))))*(log((log(log((log(log(log((((((log(log(log(log(...

output:

0 1

result:

ok 2 tokens

Test #73:

score: 0
Accepted
time: 1ms
memory: 4048kb

input:

log((log(log(((log(log(log(log(log(((log(log(((log(log(log((log(log(((log((log((log(log((((log(((((log(log((log((log((log(((log(log((((((((log(log((((((log(log(log(N))))))))*log(log((log(((N)))))))))))))))))))*log(log((log((log(log(((log((log(((log(log((N))*log((log((((log(N)*log((log(log(log((log((...

output:

0 1

result:

ok 2 tokens

Test #74:

score: 0
Accepted
time: 0ms
memory: 7572kb

input:

log(log(((((((log(((log(log(log(log(log(((log(log(log(((log(log((log((log(log(((log(log(((log((log(log((log((log((log((log(log(log(log(log(log(log(log(log((log(log((log((((log(log(log(log((((log(log(log(log(log(log(log((log(log((log(log((log(((log(((((log(log(log(log((((log(log((((((log((((log(log((...

output:

0 1

result:

ok 2 tokens

Test #75:

score: 0
Accepted
time: 3ms
memory: 7276kb

input:

log((log(log(log(log(log(((log((log((log((log(log(log((((log((log(log(((((log(log(((log((((log(((log((log(log((log((((log((log(((log((log((log(log(((log((log((log((log(log(log(log((log((log((log((((((log(((log(log((log((log((log(((((log((log(((((log((log((log(((log((log((((log((log(log(log(log(((log...

output:

0 1

result:

ok 2 tokens

Test #76:

score: 0
Accepted
time: 2ms
memory: 7232kb

input:

(log(((((log(log((((((log(log(((log(log((log(log(log((log((((log((log((log(log((log((((log(log(log((log((log(log((((((log(((log(log((log(log(log(((log((((log(log((log((log((log((log(((log(log(log(log((log(log((((log(((log(log(log(log(log(log((((log(log(((log((log((log(log((log(log(log(log((log(((log...

output:

0 1

result:

ok 2 tokens

Test #77:

score: 0
Accepted
time: 0ms
memory: 3844kb

input:

log(N)

output:

0 1

result:

ok 2 tokens

Test #78:

score: 0
Accepted
time: 0ms
memory: 3880kb

input:

log(N^1000000000)

output:

0 1

result:

ok 2 tokens

Test #79:

score: 0
Accepted
time: 0ms
memory: 3580kb

input:

log(N)^1000000000

output:

0 1000000000

result:

ok 2 tokens

Test #80:

score: 0
Accepted
time: 0ms
memory: 9956kb

input:

N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+N+...

output:

1 0

result:

ok 2 tokens

Test #81:

score: 0
Accepted
time: 0ms
memory: 8456kb

input:

N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*N*...

output:

50000 0

result:

ok 2 tokens

Test #82:

score: 0
Accepted
time: 3ms
memory: 9960kb

input:

((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((...

output:

1 0

result:

ok 2 tokens

Test #83:

score: 0
Accepted
time: 3ms
memory: 9172kb

input:

(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*(N*...

output:

25000 0

result:

ok 2 tokens

Test #84:

score: 0
Accepted
time: 0ms
memory: 3588kb

input:

N

output:

1 0

result:

ok 2 tokens

Test #85:

score: 0
Accepted
time: 0ms
memory: 3640kb

input:

(N)

output:

1 0

result:

ok 2 tokens

Test #86:

score: 0
Accepted
time: 0ms
memory: 3580kb

input:

N^1000000000

output:

1000000000 0

result:

ok 2 tokens

Test #87:

score: 0
Accepted
time: 0ms
memory: 4008kb

input:

((((((((N*N*N*N^104+(((((N^8970379+N*N)*N^846750+(N*N*(N*N))*N^78179385)*(N+N))*(N+N+N+N*N)))+(((N+((N+((N*N*N^24085))+N^78*N+N^6716357))+(((((N^55177*(N*N+N*N+(N))*(N+N^1+(N*N^69219)))+((((N^2+N*N))+N*N*N)*(N^5294*(N^2*N)))*(N*N))*(N^760459+N^7584*N)*(N*(N+N+N)+N*N*N)*(((N*N+N^19)+N*N)))))+(N+((N*(...

output:

6174908183 0

result:

ok 2 tokens

Test #88:

score: 0
Accepted
time: 1ms
memory: 3728kb

input:

(((((N)+N*N*(N+N))+(N*N*N^75)+N+(N*N*N*N^713530*N^7086*((N+N^33))*N^89+((N+N*(N+N)*N)))+(((((((((N*N^9)))*N^5)+(N*(N*N*N)+(N+N)*(N))*(((N*N+N)*N)*(N))+(N+N+N^9082*((N)*N^9))*(N*N^5247)*(N+N^59080)*(N*N*N^916506)))))*N^969*N)+(((((N^8*((N*(N*N^6))))*N))+((((((N*(N+N)*(N+N))*(N*(N))*(N^84*N^364632))*N...

output:

6857014383 0

result:

ok 2 tokens

Test #89:

score: 0
Accepted
time: 1ms
memory: 3816kb

input:

(((((((((N+(N)+(((N+N^793)+N))+N+(N)*(N^1951020)*(N*N+N*(N)+N*N)*N^1853*((((N)*N^7021291))))*(N*N+N*N*N*N+N*N))*N*(N))+((((N+N^7)*(N*N+N*N)*N)*((N*N+N*N+N*N))*N^7)*(N^3660+N*N*(N))*(N+N+N*N)*((N+(N))))+(((((((N+N^835*(N^7430438*((N+N))))))*(((N+N)*(N+N*N))))*(N^605*N*N)))*((N^16696425)+N)+((((N+N))*...

output:

8761838890 0

result:

ok 2 tokens

Test #90:

score: 0
Accepted
time: 0ms
memory: 3532kb

input:

(N*N*(N)*(N^8868+((N*N+N^9270*N+N^46)+N*N))*N^92)*(N+N*N)

output:

9368 0

result:

ok 2 tokens

Test #91:

score: 0
Accepted
time: 0ms
memory: 3616kb

input:

N^1000000000+(N^5*N*(N*(N*(N+N)))*(N+N))*((N*N^2*N^3+N)+(N)*(N)*(N+N)+N^2831)*(((N+N*N+N^92))+N*N*(N+N^1000000000)+(N*N))+(N+N^8853)+((N^2735801)*((N*N)*(N^1000000000)))+(N*N*N^353669757*(((N+N+N*N^1975)+(N)*(N))*(N^550587+N*(N+N*N))+(N+N*(N^1000000000*N*(N^500*(N^6*(N^82*((N)))))+N*N)))*(((N^1*N^79...

output:

1973265265 0

result:

ok 2 tokens

Test #92:

score: 0
Accepted
time: 0ms
memory: 3884kb

input:

(((N^94394)*N^38215*(((N)*N^92)+((N+N)*N)*N^3581*(N+N^1+N*N*N))*N*(N*N*N*N^6976903*((N)+N*N+N^6+(N)*((N)+N))*(N^2693060*((((N)+N^23+N*N+((N^14*((N^63866391*N)+N*N)*((N+N)))))))*(((N+N*(N*(N))*N*N)*(N^1*N+N+((N*N^6))+N)*(N+N*N*(N))*((((N*N)+N)*N^1137)+N+((N^14333648*N^1000000000*(N)))*(N*N^4723271)+(...

output:

9600858440 0

result:

ok 2 tokens

Test #93:

score: 0
Accepted
time: 1ms
memory: 3976kb

input:

(((((((((N*N*N*N+N*N*((N+N))))))*((N*N*N^23*N^4560921+(N))*(N*N)*(N*(N)*N*(N)*((N*N*N*N^286)))+(((N*((N^833+N^498*N*(N+N+N))))+(N))*(N+N^8*N+(N*(N^65+N*N))))+N^1037*((N*(N+(N))))*((N*N+N*N+N*N*N+N^8653*N)*N)*((N^9*(N+N+N+N*(N^583)*N)*(N*N+(N+N^20398055*N^43255962*(N^4811379)*N^1000000000)*(N+(N^7)))...

output:

81156756038 0

result:

ok 2 tokens

Test #94:

score: 0
Accepted
time: 0ms
memory: 3644kb

input:

(((((N+N+(N+N*N)*N*(N+N))))*(N*N+N*N+N^33*N^2*N*N^2)*N^2785288+N^63*N*N))

output:

2785330 0

result:

ok 2 tokens

Test #95:

score: 0
Accepted
time: 0ms
memory: 3648kb

input:

(((((N+N*(N+N+N)))*N)*N*(N)*N*((N+N^951673+N*N)+N^9267471))+N+N*N*(N)*N+(((N+N*N+(N*N*N*N+((N)))*(N)))*((((N+N+N+N*N^50)*(N^9169*N)*(N))*(N*N)*(((N^276741*N^100449023)+N*((N*N*N^537*N)*N*N+N))))+N*N^136524)))*((N*(N)*(N^7865)*N^34156*((N*(N^92)+(N+N+N+N+N)*(N*N+N*N*N+(N)*N^2020000))*(N*(N+N^749772)+...

output:

1134256486 0

result:

ok 2 tokens

Test #96:

score: 0
Accepted
time: 0ms
memory: 3684kb

input:

((((N*((N)*N^72706)+N*((N)*N^89*N^3))))*((N*N+((N^10388355)*(N+N*N))+(N^839664)*N^1000000000*(N+N^409+N+N+((N+N)))*((((((N^93+((N^701994+(N))))*N^1606312))))))*(N*(N)*N^411*((N+N*N^68+(N)+N^2*(N*N^6+N)*N+N*(N+N)*N^9734+N*N*N))))*(N*N^4*((N*N)*N+((N+N*N*((N*(N))))*((N^7983310)+N)*((N^8089*N+(N+N)*(N+...

output:

4678774247 0

result:

ok 2 tokens

Test #97:

score: 0
Accepted
time: 1ms
memory: 3776kb

input:

((((((N+N*N^78813+N*N*N^5+(N^1405*N+N*N^646*N)+(N+N)*(N^47388*((((N+N^4))))*(N*N*N^86560*N^488))))+N^22*(N)+(((N^474930464)*(N)))*(((((N*(N+N)+(N+N+N)*(N*N*N)+N*N)+N)))))*(((N+(N+N)+N*N*N+N*N+N*(N*(N))*(N*N+N)*N)*N+(N*(N*(N)+(N^2)*(N+N*(N+N))))*N^6+(N*(N+N)+(N+N))*((N+(N+N^20100+((N+N))))))*((N*N*N*...

output:

100591963149 0

result:

ok 2 tokens

Test #98:

score: 0
Accepted
time: 0ms
memory: 3528kb

input:

(N+(N*(N*N)))*(N^3337973)+(N)

output:

3337976 0

result:

ok 2 tokens

Test #99:

score: 0
Accepted
time: 0ms
memory: 3620kb

input:

(((((N*(N)+N*N*N)*N^504228015*((((N+N^35346647+(N+N^69209099+N+N*N*(N+N)*(N*N*(N)))))))+N^38*(N*((N+N^833077352))))))*(((N^9008564+N^63*N^40+((N^1*N*(N))))*(N*N))+N*N*(N*(N^133553135)*N)))*(N*N^1000000000*(N^22+((((((((N*(N*N^6*N)*(N*(N*N+N*N*(N)*N)+N)))+N^2+(N^78452999+N*N)+N)*(((N^80349)+(N^135)))...

output:

3966630533 0

result:

ok 2 tokens

Test #100:

score: 0
Accepted
time: 0ms
memory: 3660kb

input:

((((N*N))*(N*N)*(N*(N+N*((N^914794271)))))+((N*N*((N*((N+N*N*N*N^712)*N)))))+(N*N^58*(N+N+(N))+(N+(N*N)+(N*N*N^8823)+N^66*(N^31256217*N))+(((N+N^9+(N^62)*N^47026)))*(((N+N^6+(N+N)*N)*N*((N+N^9)*((N+N))*N*(N*N+N*(N+N))*N^8617))+(N*N^4*(N*N+((((N*N*N^7+(N+N+N)))))+N^1000000000*N+N))))+(((((N+N*N*(N)*N...

output:

7855159789 0

result:

ok 2 tokens

Test #101:

score: 0
Accepted
time: 0ms
memory: 3636kb

input:

((((N*(N^5255*(N^79+N*N)*N^1*N+(N)*N)+(N+N+N*N+N^2+N*N)*(N+N+N+N*(N))*(N^752*N^975126)+((((N*N^6917+N)+N*N*N))+(N^4*N+(N+N+N+N*N*((N*N)*N+N^355)+(N*N*N^5931+N*(N)*N*N^71491+((N)*((N*N)))+(N*N*N*N^817))))+N*(N)+((N+N^63*N^280112+((N*N))*(N)*(N^1000000000)*N^200300164*((((N^35)+N^511263*N)))))))*(((((...

output:

27070377847 0

result:

ok 2 tokens

Test #102:

score: 0
Accepted
time: 1ms
memory: 3812kb

input:

(((((((N*(N)+(((N*((N)*N^88404581+N)*N^1000000000+(N+N+N)*(((N)*N*N^2+(N*N^39+N*N^7*(N))*N^1)+((N))))))+(N*(N+N)*((N)*N^1000000000)*(N+(N^4)+N*(N*N)*N)*(((N*(N)))*N^6))*((N+N+(((N+N)*N^41027)*(N+N*(N)+(N*N)))+(N^4+N^5*N*(N+(N^72*N+N^7)))*(N^83028076)))+((N+N+(N)+N*N^871*(N))*N^2*N^66642740)*(N+(N)*(...

output:

78676664880 0

result:

ok 2 tokens

Test #103:

score: 0
Accepted
time: 0ms
memory: 3980kb

input:

((((((N)*(N)*N*(((N^75865*(N^4580+N+((N*N^3*N^54864*(N*(((N+N+N^8)+(N*N^1)+N))))+((N+N)*(N^5*N)*(N+N*(N)*(N^4*(N+N+(N*N^84)))+(N^57090+N*N)))+N*N))*(N+((N+((N^1000000000))*(N^976+N^82570844)))+N^90*N^597613)+N*((N*N*N*N*(N))*(N*(N+((N+N)*((N))))))*((N^1000000000*N^63557*(N*(N)+N^8*N+N*N*(N^88)))*N^1...

output:

32732408626 0

result:

ok 2 tokens

Test #104:

score: 0
Accepted
time: 1ms
memory: 3776kb

input:

(N+N+N*N*(N*N*N*N+N*((N*(N))))+((((((((N+(N)+((N^1000000000+N+(N^6558*N^646)*(N^1235)+(N+(((N*N*N^1918306))))+((N^8926*(N))*(N)*(N*N*N)*((N+N^672554)*(N+N)))+(N)*N^8869))*(N+(N+N)+N))*((N*(N))*N)*((((N^85209*N^323*(N^95048889))+(N*N)*N*N^7217*(N+N*((N+N+((N)))))+N*((N)*(N)))+((((N*N^866+(N+N^4)))*(N...

output:

38583267661 0

result:

ok 2 tokens

Test #105:

score: 0
Accepted
time: 0ms
memory: 10056kb

input:

((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((...

output:

901887 0

result:

ok 2 tokens

Test #106:

score: 0
Accepted
time: 3ms
memory: 10188kb

input:

((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((...

output:

1000000000 0

result:

ok 2 tokens

Test #107:

score: 0
Accepted
time: 1ms
memory: 3772kb

input:

((((N^75604394*N^374))*(N^13*(N+N)+N))*((N^889612852)+N)*(((((N*((N^4624*(N))))*(N)))*N)*(((N)*(N*N)*N^852*N^88843))*((N^3*(((N+N^33+((N^61+N*N*(N^8*N)))*((N*N)*N^43556701)))*(N*N^3)+N^371235181)*((((N))*N+N*N*N*(N^563)))+((N*(N))+(N*N*N^4))))*((N^409+N*N)*((N))+(N*N)+N^855959)+((N*N^90*N*(N)*N+(N*(...

output:

203383534541 0

result:

ok 2 tokens

Test #108:

score: 0
Accepted
time: 1ms
memory: 3716kb

input:

(((((N^2*N^11335*N^76785996*((((((N*N*N*N^7085)))+(((N*N*(N+N*N*N*(N))*(N*(N*N)+N))*(((((N^3930*(N^557474)))))))*((N^1*N^62005)))*N^906011))))*(N*N*((N*N*(N)+N)))*((((N^1000000000)*(N*N))+(((N*N*(N+((N*N+N)+N+(N+N))+N*N)*(N*N)*N))+(N*N*(N*(N))))))+N*N)*(N^92624203*N*((N^1000000000*N*N)*N*(N+N*N)))*(...

output:

88795456344 0

result:

ok 2 tokens

Test #109:

score: 0
Accepted
time: 1ms
memory: 3816kb

input:

(((N*(((N)*N^1398*N^2325*((N^3115951*N^1000000000)*N))*((N*((N*N)+(((N*(N^66850)*N^1))))*(((((((N)*N*N^661388)*(N*N*N^24436))))*N^3253600))))+((((((N+N+N^6652))*(N^920*N*N+N)*(N*N*N^2119*N^69)*((((N*N^12982796+N))))))))*((N*((N^784)+(N^6+N+N)))+(N+(N^404694))))+((((((N^43468*((((((((N^591640876)))+N...

output:

194871146486 0

result:

ok 2 tokens

Extra Test:

score: 0
Extra Test Passed