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 2, 2021 12:06Dmitry DolgopolovDmitry DolgopolovScore: 4,982Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 2, 2021 12:064,96042,471,08413,889,0001,984,0002,449,408
2Jun 2, 2021 12:064,96143,502,62614,884,000992,0002,535,424
3Jun 2, 2021 12:064,96427,920,35713,901,0001,985,0002,273,280
4Jun 2, 2021 12:064,96540,689,87813,903,0001,986,0002,273,280
5Jun 2, 2021 12:064,96543,572,40614,895,000993,0002,441,216
6Jun 2, 2021 12:064,96643,382,10814,897,000993,0002,273,280
7Jun 2, 2021 12:064,96630,086,88513,905,0001,986,0002,273,280
8Jun 2, 2021 12:064,96831,238,70813,910,0001,987,0002,445,312
9Jun 2, 2021 12:064,96934,295,34214,909,000993,0002,273,280
10Jun 2, 2021 12:064,97140,641,48713,918,0001,988,0002,445,312
11Jun 2, 2021 12:064,97531,208,44413,931,0001,990,0002,273,280
12Jun 2, 2021 12:064,97832,183,59314,869,0001,062,0002,437,120
13Jun 2, 2021 12:064,98238,578,83413,949,0001,992,0002,535,424
14Jun 2, 2021 12:064,98645,105,76213,962,0001,994,0002,273,280
15Jun 2, 2021 12:064,99132,777,45713,974,0001,996,0002,441,216
16Jun 2, 2021 12:065,00327,991,47614,009,0002,001,0002,531,328
17Jun 2, 2021 12:065,01343,255,35114,038,0002,005,0002,445,312
18Jun 2, 2021 12:065,10845,059,82715,325,0001,021,0002,535,424
19Jun 2, 2021 12:065,17471,412,05216,555,47802,207,744
20Jun 2, 2021 12:065,17679,612,48516,563,47002,199,552
21Jun 2, 2021 12:065,18886,982,60916,601,80702,199,552
22Jun 2, 2021 12:065,19264,737,74716,614,57702,203,648
23Jun 2, 2021 12:065,20868,998,62416,666,05502,199,552
24Jun 2, 2021 12:065,21677,844,18516,691,36102,195,456