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 22:57Alexander KimAlexander KimScore: 5,674Success
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 22:575,64247,962,22816,049,0002,006,0002,531,328
2Jan 2, 2023 22:575,64340,548,42016,052,0002,006,0002,334,720
3Jan 2, 2023 22:575,64642,908,30716,060,0002,007,0002,334,720
4Jan 2, 2023 22:575,66035,313,43717,106,0001,006,0002,334,720
5Jan 2, 2023 22:575,67246,421,47515,126,0003,025,0002,535,424
6Jan 2, 2023 22:575,67337,141,18917,147,0001,008,0002,334,720
7Jan 2, 2023 22:575,67444,000,32017,149,0001,008,0002,535,424
8Jan 2, 2023 22:575,68135,752,16317,170,0001,010,0002,334,720
9Jan 2, 2023 22:575,68434,342,37517,180,0001,010,0002,334,720
10Jan 2, 2023 22:575,75469,929,64118,413,19802,244,608
11Jan 2, 2023 22:575,80397,180,74218,571,02402,232,320
12Jan 2, 2023 22:575,90180,867,49018,883,13402,236,416