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 14:46Jack FrigaardJack FrigaardScore: 5,488Success
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 14:465,43940,543,93316,383,0001,023,0002,269,184
2Jan 2, 2023 14:465,44340,479,12316,393,0001,024,0002,269,184
3Jan 2, 2023 14:465,44339,190,03216,394,0001,024,0002,527,232
4Jan 2, 2023 14:465,46935,106,54016,473,0001,029,0002,269,184
5Jan 2, 2023 14:465,47643,650,48116,492,0001,030,0002,535,424
6Jan 2, 2023 14:465,48340,825,66616,512,0001,032,0002,285,568
7Jan 2, 2023 14:465,48844,069,49617,562,00002,269,184
8Jan 2, 2023 14:465,49238,513,68116,540,0001,033,0002,285,568
9Jan 2, 2023 14:465,52345,916,18116,633,0001,039,0002,285,568
10Jan 2, 2023 14:465,63758,748,77918,039,49802,293,760
11Jan 2, 2023 14:465,66286,764,02218,117,87802,306,048
12Jan 2, 2023 14:465,69992,545,66418,236,91302,297,856