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 22, 2024 02:33Yuriy LyfenkoYuriy LyfenkoScore: 7,148Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2024 02:336,07673,783,54119,442,96002,269,184
2Apr 22, 2024 02:336,12982,201,68219,612,61602,285,568
3Apr 22, 2024 02:336,79152,957,22119,663,0002,069,0002,551,808
4Apr 22, 2024 02:337,04946,503,57219,482,0003,076,0002,547,712
5Apr 22, 2024 02:337,05547,493,57121,502,0001,075,0002,469,888
6Apr 22, 2024 02:337,14355,965,95419,875,0002,981,0002,551,808
7Apr 22, 2024 02:337,14849,789,68920,886,0001,989,0002,551,808
8Apr 22, 2024 02:337,17450,430,17719,963,0002,994,0002,551,808
9Apr 22, 2024 02:337,19140,422,74020,010,0003,001,0002,551,808
10Apr 22, 2024 02:337,23150,750,41220,121,0003,018,0002,469,888
11Apr 22, 2024 02:337,27349,752,31220,237,0003,035,0002,551,808
12Apr 22, 2024 02:337,33794,134,61223,479,19202,289,664