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 listFeb 22, 2024 13:22Huy Duc LeHuy Duc LeScore: 4,832Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 22, 2024 13:224,79333,079,23314,315,0001,022,0002,277,376
2Feb 22, 2024 13:224,79834,485,82114,332,0001,023,0002,289,664
3Feb 22, 2024 13:224,80637,578,19013,328,0002,050,0002,289,664
4Feb 22, 2024 13:224,80632,020,45414,353,0001,025,0002,273,280
5Feb 22, 2024 13:224,81539,679,43814,382,0001,027,0002,289,664
6Feb 22, 2024 13:224,82837,654,38314,420,0001,030,0002,289,664
7Feb 22, 2024 13:224,83235,103,32214,431,0001,030,0002,531,328
8Feb 22, 2024 13:224,85239,873,29214,492,0001,035,0002,289,664
9Feb 22, 2024 13:224,87032,514,12114,546,0001,039,0002,289,664
10Feb 22, 2024 13:225,00091,255,87716,000,40202,301,952
11Feb 22, 2024 13:225,02287,569,74616,071,62802,179,072
12Feb 22, 2024 13:225,04059,872,77216,128,01202,179,072