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 listMay 3, 2025 17:52lukostlukostScore: 4,426Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 3, 2025 17:524,40933,564,72612,093,0002,015,0002,449,408
2May 3, 2025 17:524,42028,337,04312,124,0002,020,0002,449,408
3May 3, 2025 17:524,42232,036,18712,128,0002,021,0002,441,216
4May 3, 2025 17:524,42636,968,89912,140,0002,023,0002,441,216
5May 3, 2025 17:524,42633,690,15012,140,0002,023,0002,273,280
6May 3, 2025 17:524,43335,983,32312,161,0002,026,0002,277,376
7May 3, 2025 17:524,43532,118,98212,166,0002,027,0002,539,520
8May 3, 2025 17:524,44740,914,67112,197,0002,032,0002,539,520
9May 3, 2025 17:524,45330,206,68613,232,0001,017,0002,539,520