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 listJan 3, 2023 18:43Hal FHal FScore: 4,777Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 18:434,72240,353,31614,104,0001,007,0002,277,376
2Jan 3, 2023 18:434,72432,502,80713,103,0002,015,0002,289,664
3Jan 3, 2023 18:434,74234,027,60413,151,0002,023,0002,289,664
4Jan 3, 2023 18:434,75037,333,77813,173,0002,026,0002,269,184
5Jan 3, 2023 18:434,75029,298,81213,173,0002,026,0002,277,376
6Jan 3, 2023 18:434,75535,040,24814,201,0001,014,0002,289,664
7Jan 3, 2023 18:434,77735,337,19713,249,0002,038,0002,269,184
8Jan 3, 2023 18:434,78631,186,18713,273,0002,042,0002,277,376
9Jan 3, 2023 18:434,79033,006,23013,284,0002,043,0002,281,472
10Jan 3, 2023 18:434,97773,070,44015,925,04202,297,856
11Jan 3, 2023 18:434,98493,929,27315,947,47102,293,760
12Jan 3, 2023 18:435,001110,151,90916,002,64602,285,568