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 listJul 30, 2024 03:08BenBenScore: 4,808Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 03:084,78738,305,18813,275,0002,042,0002,392,064
2Jul 30, 2024 03:084,78734,313,45914,297,0001,021,0002,265,088
3Jul 30, 2024 03:084,79231,520,55113,291,0002,044,0002,269,184
4Jul 30, 2024 03:084,79531,480,48815,343,00002,379,776
5Jul 30, 2024 03:084,79937,811,36014,333,0001,023,0002,506,752
6Jul 30, 2024 03:084,79937,832,64414,335,0001,023,0002,510,848
7Jul 30, 2024 03:084,80833,143,36514,359,0001,025,0002,269,184
8Jul 30, 2024 03:084,82238,386,62214,401,0001,028,0002,527,232
9Jul 30, 2024 03:084,82337,523,90014,405,0001,028,0002,265,088
10Jul 30, 2024 03:085,03382,160,33716,105,63202,273,280
11Jul 30, 2024 03:085,05165,370,43716,163,91602,289,664
12Jul 30, 2024 03:085,08489,256,51616,267,40202,277,376