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 18, 2024 14:30Robert BurkeRobert BurkeScore: 4,455Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 14:304,42833,652,50012,146,0002,024,0002,445,312
2Apr 18, 2024 14:304,43034,974,64612,150,0002,025,0002,281,472
3Apr 18, 2024 14:304,43732,139,19712,170,0002,028,0002,281,472
4Apr 18, 2024 14:304,44130,233,28312,181,0002,030,0002,281,472
5Apr 18, 2024 14:304,44234,982,44012,183,0002,030,0002,449,408
6Apr 18, 2024 14:304,44631,465,70512,195,0002,032,0002,281,472
7Apr 18, 2024 14:304,45532,856,40113,238,0001,018,0002,441,216
8Apr 18, 2024 14:304,45629,852,97012,222,0002,037,0002,277,376
9Apr 18, 2024 14:304,45633,208,49913,242,0001,018,0002,281,472
10Apr 18, 2024 14:304,73278,598,24715,142,41602,203,648
11Apr 18, 2024 14:304,73995,010,59615,165,31602,199,552
12Apr 18, 2024 14:304,79079,459,27215,328,73702,203,648