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 23, 2024 15:36Gokberk YaltirakliGokberk YaltirakliScore: 5,790Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 15:365,64935,974,63416,068,0002,008,0002,269,184
2Jan 23, 2024 15:365,72538,648,70316,285,0002,035,0002,371,584
3Jan 23, 2024 15:365,72744,679,02917,307,0001,018,0002,289,664
4Jan 23, 2024 15:365,75142,443,08517,382,0001,022,0002,277,376
5Jan 23, 2024 15:365,75534,682,99417,394,0001,023,0002,289,664
6Jan 23, 2024 15:365,77334,755,14117,446,0001,026,0002,269,184
7Jan 23, 2024 15:365,79044,896,13117,500,0001,029,0002,269,184
8Jan 23, 2024 15:365,80839,463,62017,552,0001,032,0002,269,184
9Jan 23, 2024 15:365,84647,904,16817,669,0001,039,0002,273,280
10Jan 23, 2024 15:365,91392,404,02918,920,86102,297,856
11Jan 23, 2024 15:366,14377,452,10019,659,12102,301,952
12Jan 23, 2024 15:366,18388,599,55419,785,24602,297,856