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 listDec 21, 2024 10:46LaihoLaihoScore: 5,614Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 21, 2024 10:465,58444,860,16615,883,0001,985,0002,367,488
2Dec 21, 2024 10:465,59252,871,64816,899,000994,0002,371,584
3Dec 21, 2024 10:465,60043,281,77416,926,000995,0002,367,488
4Dec 21, 2024 10:465,60640,370,84616,943,000996,0002,371,584
5Dec 21, 2024 10:465,61448,375,94815,970,0001,996,0002,371,584
6Dec 21, 2024 10:465,61546,297,92616,971,000998,0002,375,680
7Dec 21, 2024 10:465,62344,828,94315,993,0001,999,0002,375,680
8Dec 21, 2024 10:465,63336,896,23916,022,0002,002,0002,285,568
9Dec 21, 2024 10:465,65444,414,01316,084,0002,010,0002,285,568