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 listJun 12, 2024 19:34AndreyTSAndreyTSScore: 5,710Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 19:345,67741,017,27017,156,0001,009,0002,293,760
2Jun 12, 2024 19:345,67939,238,35116,155,0002,019,0002,289,664
3Jun 12, 2024 19:345,68241,240,99316,161,0002,020,0002,289,664
4Jun 12, 2024 19:345,68436,845,08017,180,0001,010,0002,285,568
5Jun 12, 2024 19:345,70049,647,09716,213,0002,026,0002,293,760
6Jun 12, 2024 19:345,70139,450,45316,216,0002,027,0002,289,664
7Jun 12, 2024 19:345,71039,323,18116,242,0002,030,0002,269,184
8Jun 12, 2024 19:345,73845,866,94117,342,0001,020,0002,281,472
9Jun 12, 2024 19:345,74244,971,24216,334,0002,041,0002,273,280
10Jun 12, 2024 19:345,95596,089,91019,054,63402,297,856
11Jun 12, 2024 19:345,96288,797,35819,076,91602,174,976
12Jun 12, 2024 19:345,96694,100,82919,092,61902,170,880