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 28, 2024 08:37BenBenScore: 4,598Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 08:374,56635,974,37213,569,0001,043,0002,265,088
2Jul 28, 2024 08:374,56835,324,23013,572,0001,044,0002,392,064
3Jul 28, 2024 08:374,58233,957,21213,614,0001,047,0002,387,968
4Jul 28, 2024 08:374,59329,632,51013,648,0001,049,0002,265,088
5Jul 28, 2024 08:374,59443,084,31314,700,00002,527,232
6Jul 28, 2024 08:374,59535,180,50313,655,0001,050,0002,265,088
7Jul 28, 2024 08:374,59830,996,36514,715,00002,269,184
8Jul 28, 2024 08:374,60435,245,31613,682,0001,052,0002,265,088
9Jul 28, 2024 08:374,64729,594,59613,879,000991,0002,265,088
10Jul 28, 2024 08:374,82891,738,82915,448,30902,277,376
11Jul 28, 2024 08:374,83599,862,32015,472,51402,281,472
12Jul 28, 2024 08:374,84377,855,80815,496,32702,281,472