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 8, 2024 20:16джулисджулисScore: 5,505Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 8, 2024 20:165,43640,536,21917,396,00002,351,104
2Jun 8, 2024 20:165,46440,892,29917,484,00002,285,568
3Jun 8, 2024 20:165,48135,582,83217,538,00002,285,568
4Jun 8, 2024 20:165,48439,342,22916,518,0001,032,0002,355,200
5Jun 8, 2024 20:165,48538,212,01316,519,0001,032,0002,371,584
6Jun 8, 2024 20:165,48536,866,14117,552,00002,363,392
7Jun 8, 2024 20:165,49139,069,79216,537,0001,033,0002,285,568
8Jun 8, 2024 20:165,49138,546,35116,537,0001,033,0002,363,392
9Jun 8, 2024 20:165,49336,478,60416,545,0001,034,0002,363,392
10Jun 8, 2024 20:165,49839,913,76217,592,00002,363,392
11Jun 8, 2024 20:165,49942,219,60516,561,0001,035,0002,347,008
12Jun 8, 2024 20:165,50340,401,09616,574,0001,035,0002,367,488
13Jun 8, 2024 20:165,50545,015,55916,580,0001,036,0002,363,392
14Jun 8, 2024 20:165,50945,035,05317,628,00002,469,888
15Jun 8, 2024 20:165,50941,222,70616,593,0001,037,0002,285,568
16Jun 8, 2024 20:165,51345,184,07117,643,00002,363,392
17Jun 8, 2024 20:165,51645,093,72217,652,00002,469,888
18Jun 8, 2024 20:165,52444,825,87016,637,0001,039,0002,355,200
19Jun 8, 2024 20:165,68696,790,99418,194,90402,224,128
20Jun 8, 2024 20:165,72990,046,79218,333,93502,232,320
21Jun 8, 2024 20:165,75693,493,81618,418,45302,248,704
22Jun 8, 2024 20:165,76274,381,75718,438,40402,367,488
23Jun 8, 2024 20:165,76694,430,31418,449,94402,244,608
24Jun 8, 2024 20:165,78665,070,20618,515,79802,232,320