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 2, 2023 21:32Alexander KimAlexander KimScore: 5,653Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 21:325,62342,891,62415,994,0001,999,0002,531,328
2Jan 2, 2023 21:325,62644,160,91017,004,0001,000,0002,334,720
3Jan 2, 2023 21:325,63741,767,56816,035,0002,004,0002,281,472
4Jan 2, 2023 21:325,63945,421,45616,041,0002,005,0002,404,352
5Jan 2, 2023 21:325,64446,347,74017,058,0001,003,0002,334,720
6Jan 2, 2023 21:325,65246,096,32016,077,0002,009,0002,535,424
7Jan 2, 2023 21:325,65345,790,90316,081,0002,010,0002,535,424
8Jan 2, 2023 21:325,66336,360,98416,109,0002,013,0002,334,720
9Jan 2, 2023 21:325,68245,556,00016,163,0002,020,0002,334,720
10Jan 2, 2023 21:325,68668,337,57118,196,75302,240,512
11Jan 2, 2023 21:325,74264,527,42518,375,68702,244,608
12Jan 2, 2023 21:325,80978,368,01618,588,84602,240,512