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:06Alexander KimAlexander KimScore: 5,894Success
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:065,81835,749,49118,619,00002,342,912
2Jan 2, 2023 21:065,83347,572,44817,628,0001,036,0002,334,720
3Jan 2, 2023 21:065,83945,023,77417,648,0001,038,0002,334,720
4Jan 2, 2023 21:065,84846,842,56518,715,00002,334,720
5Jan 2, 2023 21:065,85443,212,97115,610,0003,122,0002,334,720
6Jan 2, 2023 21:065,85735,232,30017,701,0001,041,0002,535,424
7Jan 2, 2023 21:065,89446,525,80316,877,0001,985,0002,535,424
8Jan 2, 2023 21:065,90842,553,23318,907,00002,408,448
9Jan 2, 2023 21:065,91782,635,82618,932,84502,240,512
10Jan 2, 2023 21:065,98248,208,26917,127,0002,014,0002,531,328
11Jan 2, 2023 21:066,016105,893,15519,250,06902,240,512
12Jan 2, 2023 21:066,02488,886,79319,275,75002,256,896