ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1068. Sum

unusual execution time and memory consumption in P#1068
Posted by nauman 18 Nov 2006 11:37
Problem # 1068 :
http://acm.timus.ru/problem.aspx?space=1&num=1068

Accepted Submissions with low execution & less memory consumption
http://acm.timus.ru/rating.aspx?space=1&num=1068
http://acm.timus.ru/rating.aspx?space=1&num=1068&pos=23           (0.001       75 KB)

MY SUBMISSION        :(
http://acm.timus.ru/status.aspx?space=1&num=1068&author=49366      (0.015          284 KB)

Will you please help me out?
Re: unusual execution time and memory consumption in P#1068
Posted by orxan 18 Nov 2006 13:42
use O(1) >>formula.
and it is chance get run with 0.001