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 6, 2025 13:12Chandrasekaran AkashChandrasekaran AkashScore: 4,429Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 6, 2025 13:134,37630,859,92113,002,0001,000,0002,277,376
2Apr 6, 2025 13:064,38034,816,33713,015,0001,001,0002,277,376
3Apr 6, 2025 13:064,38129,468,89913,017,0001,001,0002,506,752
4Apr 6, 2025 13:064,38430,341,89113,026,0001,002,0002,506,752
5Apr 6, 2025 13:134,38529,932,17013,031,0001,002,0002,277,376
6Apr 6, 2025 13:134,38939,600,69013,043,0001,003,0002,506,752
7Apr 6, 2025 13:124,41541,968,68813,120,0001,009,0002,506,752
8Apr 6, 2025 13:124,42129,721,76213,137,0001,010,0002,498,560
9Apr 6, 2025 13:124,42833,554,19913,156,0001,012,0002,277,376
10Apr 6, 2025 13:124,42932,411,35013,161,0001,012,0002,506,752
11Apr 6, 2025 13:124,44429,446,28113,206,0001,015,0002,277,376
12Apr 6, 2025 13:124,45934,160,56913,250,0001,019,0002,277,376
13Apr 6, 2025 13:124,48331,534,29414,345,00002,502,656
14Apr 6, 2025 13:124,49634,391,39814,387,00002,277,376
15Apr 6, 2025 13:124,50831,602,09014,426,00002,273,280
16Apr 6, 2025 13:124,56629,639,98914,611,00002,506,752
17Apr 6, 2025 13:124,58934,256,22514,686,00002,506,752
18Apr 6, 2025 13:124,59229,577,81814,694,00002,277,376