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 listJan 6, 2026 05:37Rajarshi BasuRajarshi BasuScore: 4,482Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 6, 2026 05:404,44331,513,35913,202,0001,015,0002,396,160
2Jan 6, 2026 05:404,45930,317,85512,232,0002,038,0002,396,160
3Jan 6, 2026 05:374,46035,399,04513,254,0001,019,0002,400,256
4Jan 6, 2026 05:404,46337,457,35313,262,0001,020,0002,396,160
5Jan 6, 2026 05:374,46432,239,42013,266,0001,020,0002,387,968
6Jan 6, 2026 05:404,46630,225,78112,249,0002,041,0002,396,160
7Jan 6, 2026 05:374,46833,812,77712,255,0002,042,0002,277,376
8Jan 6, 2026 05:404,47131,643,12514,308,00002,277,376
9Jan 6, 2026 05:374,47939,664,87314,332,00002,277,376
10Jan 6, 2026 05:404,48230,148,14912,294,0002,049,0002,404,352
11Jan 6, 2026 05:404,48731,194,31812,306,0002,051,0002,277,376
12Jan 6, 2026 05:374,49031,328,02813,341,0001,026,0002,478,080
13Jan 6, 2026 05:404,49028,189,43914,368,00002,392,064
14Jan 6, 2026 05:374,49132,170,24014,370,00002,277,376
15Jan 6, 2026 05:404,49531,882,45214,385,00002,277,376
16Jan 6, 2026 05:374,49830,592,69014,392,00002,281,472
17Jan 6, 2026 05:374,49929,948,54812,340,0002,056,0002,392,064
18Jan 6, 2026 05:374,52233,847,12014,470,00002,273,280