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 25, 2025 07:52Cameron AavikCameron AavikScore: 5,733Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 25, 2025 07:525,71245,059,54717,262,0001,015,0002,293,760
2Jan 25, 2025 07:525,72547,977,85616,284,0002,035,0002,314,240
3Jan 25, 2025 07:525,72835,230,74017,312,0001,018,0002,539,520
4Jan 25, 2025 07:525,73147,656,17317,322,0001,018,0002,306,048
5Jan 25, 2025 07:525,73349,561,70917,325,0001,019,0002,535,424
6Jan 25, 2025 07:525,74245,656,22617,354,0001,020,0002,535,424
7Jan 25, 2025 07:525,75936,014,92916,381,0002,047,0002,547,712
8Jan 25, 2025 07:525,76947,894,26517,437,0001,025,0002,519,040
9Jan 25, 2025 07:525,77435,778,30515,397,0003,079,0002,535,424