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 8, 2024 19:57джулисджулисScore: 5,529Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 19:575,49843,207,84516,559,0001,034,0002,363,392
2Jun 8, 2024 19:575,50033,698,39216,565,0001,035,0002,363,392
3Jun 8, 2024 19:575,50844,739,04217,625,00002,285,568
4Jun 8, 2024 19:575,51943,777,82716,622,0001,038,0002,367,488
5Jun 8, 2024 19:575,52334,871,14516,633,0001,039,0002,285,568
6Jun 8, 2024 19:575,52846,937,73716,650,0001,040,0002,285,568
7Jun 8, 2024 19:575,52938,224,93016,652,0001,040,0002,285,568
8Jun 8, 2024 19:575,53049,854,43516,656,0001,041,0002,285,568
9Jun 8, 2024 19:575,53442,890,52817,708,00002,347,008
10Jun 8, 2024 19:575,73996,610,57318,366,25902,236,416
11Jun 8, 2024 19:575,74695,584,20818,387,86802,244,608
12Jun 8, 2024 19:575,77087,877,28818,464,51902,240,512