Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listJun 6, 2021 22:53Yuriy LyfenkoYuriy LyfenkoScore: 5,032Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 6, 2021 22:534,985539,274,20213,959,0001,994,0002,281,472
2Jun 6, 2021 22:534,987537,483,29813,963,0001,994,0002,404,352
3Jun 6, 2021 22:544,988542,001,10414,965,000997,0002,400,256
4Jun 6, 2021 22:534,992538,810,89213,978,0001,996,0002,404,352
5Jun 6, 2021 22:535,000541,820,78715,000,0001,000,0002,273,280
6Jun 6, 2021 22:545,002542,875,58415,007,0001,000,0002,281,472
7Jun 6, 2021 22:545,011542,483,07514,030,0002,004,0002,408,448
8Jun 6, 2021 22:545,022542,260,52915,066,0001,004,0002,273,280
9Jun 6, 2021 22:535,023542,613,67114,065,0002,009,0002,273,280
10Jun 6, 2021 22:545,023537,803,30814,063,0002,009,0002,273,280
11Jun 6, 2021 22:535,031539,250,16415,094,0001,006,0002,273,280
12Jun 6, 2021 22:545,031536,511,63315,092,0001,006,0002,519,040
13Jun 6, 2021 22:545,032539,205,20515,097,0001,006,0002,273,280
14Jun 6, 2021 22:535,052539,567,86415,156,0001,010,0002,281,472
15Jun 6, 2021 22:535,053541,737,77115,160,0001,010,0002,281,472
16Jun 6, 2021 22:535,056540,061,66614,156,0002,022,0002,273,280
17Jun 6, 2021 22:545,059540,898,02814,166,0002,023,0002,404,352
18Jun 6, 2021 22:545,067543,208,15416,214,00002,404,352
19Jun 6, 2021 22:545,138579,995,01916,441,74102,285,568
20Jun 6, 2021 22:535,146574,263,10216,468,71302,289,664
21Jun 6, 2021 22:545,160585,436,88416,510,86002,256,896
22Jun 6, 2021 22:535,180572,447,58216,577,01202,297,856
23Jun 6, 2021 22:535,185573,086,85916,590,83602,277,376
24Jun 6, 2021 22:545,186579,653,38916,596,24502,289,664