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 listOct 1, 2022 14:43Sergey SlotinSergey SlotinScore: 5,694Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 1, 2022 14:435,65939,414,76817,104,0001,006,0002,277,376
2Oct 1, 2022 14:435,65934,253,56615,092,0003,018,0002,273,280
3Oct 1, 2022 14:435,66040,748,31317,107,0001,006,0002,277,376
4Oct 1, 2022 14:435,66241,128,70917,111,0001,006,0002,277,376
5Oct 1, 2022 14:435,67238,622,08316,135,0002,016,0002,277,376
6Oct 1, 2022 14:435,68840,099,50316,181,0002,022,0002,277,376
7Oct 1, 2022 14:435,69442,613,45216,196,0002,024,0002,273,280
8Oct 1, 2022 14:435,69946,620,28016,212,0002,026,0002,277,376
9Oct 1, 2022 14:435,75942,182,13217,407,0001,023,0002,531,328
10Oct 1, 2022 14:435,94286,359,18619,013,26902,174,976
11Oct 1, 2022 14:435,964110,489,22119,085,66902,297,856
12Oct 1, 2022 14:435,98985,615,02419,163,56902,301,952