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 19:25Robert BurkeRobert BurkeScore: 4,423Success
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 19:254,39329,677,28012,048,0002,008,0002,445,312
2Apr 18, 2024 19:254,41231,191,80512,101,0002,016,0002,441,216
3Apr 18, 2024 19:254,41433,898,61712,108,0002,018,0002,281,472
4Apr 18, 2024 19:254,41531,332,65813,119,0001,009,0002,281,472
5Apr 18, 2024 19:254,41729,894,98112,114,0002,019,0002,453,504
6Apr 18, 2024 19:254,41739,047,34112,116,0002,019,0002,281,472
7Apr 18, 2024 19:254,42330,505,96812,132,0002,022,0002,453,504
8Apr 18, 2024 19:254,42633,583,54512,140,0002,023,0002,453,504
9Apr 18, 2024 19:254,42839,966,52712,147,0002,024,0002,449,408
10Apr 18, 2024 19:254,67985,684,13914,973,36402,195,456
11Apr 18, 2024 19:254,69493,254,97715,021,97402,207,744
12Apr 18, 2024 19:254,77077,375,43515,264,59202,203,648