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 listAug 3, 2024 04:49MylesMylesScore: 4,432Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 04:494,41035,233,09412,096,0002,016,0002,449,408
2Aug 3, 2024 04:494,41343,041,29412,105,0002,017,0002,449,408
3Aug 3, 2024 04:494,41639,735,70812,112,0002,018,0002,281,472
4Aug 3, 2024 04:494,41632,180,25912,113,0002,018,0002,281,472
5Aug 3, 2024 04:494,41930,480,71112,122,0002,020,0002,449,408
6Aug 3, 2024 04:494,43031,201,65812,152,0002,025,0002,449,408
7Aug 3, 2024 04:494,43231,492,25412,156,0002,026,0002,453,504
8Aug 3, 2024 04:494,43232,640,53112,157,0002,026,0002,453,504
9Aug 3, 2024 04:494,44334,455,85212,186,0002,031,0002,281,472
10Aug 3, 2024 04:494,68283,297,57314,981,52502,203,648
11Aug 3, 2024 04:494,68972,894,33815,004,67402,203,648
12Aug 3, 2024 04:494,72481,400,92115,117,97102,203,648