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 listSep 5, 2024 12:28matsuoka-601matsuoka-601Score: 4,402Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2024 12:284,39530,550,70012,056,0002,009,0002,281,472
2Sep 5, 2024 12:284,39827,400,82912,063,0002,010,0002,445,312
3Sep 5, 2024 12:284,39934,533,67912,067,0002,011,0002,453,504
4Sep 5, 2024 12:284,40035,766,00412,070,0002,011,0002,281,472
5Sep 5, 2024 12:284,40238,077,10712,074,0002,012,0002,453,504
6Sep 5, 2024 12:284,40336,284,62312,077,0002,012,0002,535,424
7Sep 5, 2024 12:284,40829,471,47512,091,0002,015,0002,277,376
8Sep 5, 2024 12:284,41742,060,27612,116,0002,019,0002,281,472
9Sep 5, 2024 12:284,41729,383,25512,116,0002,019,0002,453,504