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, 2024 02:13Christopher TarryChristopher TarryScore: 5,901Success
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, 2024 02:135,83240,572,22518,662,00002,289,664
2May 3, 2024 02:135,84133,968,78718,692,00002,289,664
3May 3, 2024 02:135,88943,820,33816,862,0001,983,0002,277,376
4May 3, 2024 02:135,89337,297,36516,872,0001,984,0002,289,664
5May 3, 2024 02:135,89442,100,95018,860,00002,289,664
6May 3, 2024 02:135,89747,118,59416,883,0001,986,0002,289,664
7May 3, 2024 02:135,90147,010,39216,895,0001,987,0002,289,664
8May 3, 2024 02:135,90248,069,00716,898,0001,988,0002,281,472
9May 3, 2024 02:135,91746,058,98816,942,0001,993,0002,289,664
10May 3, 2024 02:136,06186,076,22119,396,39202,306,048
11May 3, 2024 02:136,07397,165,05419,432,25402,301,952
12May 3, 2024 02:136,09873,935,35819,512,97102,183,168