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 listDec 1, 2024 11:53matsuoka-601matsuoka-601Score: 4,399Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 1, 2024 11:534,38435,188,53513,028,0001,002,0002,277,376
2Dec 1, 2024 11:534,39532,514,96812,056,0002,009,0002,445,312
3Dec 1, 2024 11:534,39628,123,15712,058,0002,009,0002,277,376
4Dec 1, 2024 11:534,39944,711,43312,066,0002,011,0002,277,376
5Dec 1, 2024 11:534,39937,017,11612,067,0002,011,0002,539,520
6Dec 1, 2024 11:534,40033,101,88212,069,0002,011,0002,277,376
7Dec 1, 2024 11:534,40936,070,57712,095,0002,015,0002,453,504
8Dec 1, 2024 11:534,42326,460,63612,133,0002,022,0002,449,408
9Dec 1, 2024 11:534,42532,811,94812,138,0002,023,0002,449,408