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 listApr 24, 2025 20:07lukostlukostScore: 5,133Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 20:075,11037,437,61815,331,0001,022,0002,539,520
2Apr 24, 2025 20:075,11138,961,40415,332,0001,022,0002,449,408
3Apr 24, 2025 20:075,12033,771,73215,361,0001,024,0002,449,408
4Apr 24, 2025 20:075,12331,219,72415,368,0001,024,0002,441,216
5Apr 24, 2025 20:075,13330,159,03815,400,0001,026,0002,535,424
6Apr 24, 2025 20:075,14239,524,06615,426,0001,028,0002,539,520
7Apr 24, 2025 20:075,15131,615,28215,452,0001,030,0002,539,520
8Apr 24, 2025 20:075,15441,075,18215,462,0001,030,0002,539,520
9Apr 24, 2025 20:075,16729,388,05415,500,0001,033,0002,453,504