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 listJul 25, 2024 15:58Yuriy LyfenkoYuriy LyfenkoScore: 4,453Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2024 15:584,408542,243,16212,090,0002,015,0002,260,992
2Jul 25, 2024 15:584,434541,665,76712,162,0002,027,0002,523,136
3Jul 25, 2024 15:584,440537,610,28912,179,0002,029,0002,265,088
4Jul 25, 2024 15:584,441540,318,79313,197,0001,015,0002,523,136
5Jul 25, 2024 15:584,443536,245,70313,202,0001,015,0002,265,088
6Jul 25, 2024 15:584,448538,830,04114,235,00002,387,968
7Jul 25, 2024 15:584,453539,746,16814,251,00002,260,992
8Jul 25, 2024 15:584,458534,897,49313,247,0001,019,0002,523,136
9Jul 25, 2024 15:584,459543,265,56814,270,00002,265,088
10Jul 25, 2024 15:584,650591,685,83914,879,46802,244,608
11Jul 25, 2024 15:584,653579,321,79314,888,38302,240,512
12Jul 25, 2024 15:584,658578,739,02014,905,20302,285,568