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 16, 2025 01:32Chandrasekaran AkashChandrasekaran AkashError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 16, 2025 01:3200000Error: expected "977473 ", got "977425 "stderr
2Apr 16, 2025 01:304,33633,290,96712,884,000991,0002,277,376
3Apr 16, 2025 01:304,33630,995,44512,884,000991,0002,277,376
4Apr 16, 2025 01:294,33734,569,74713,879,00002,277,376
5Apr 16, 2025 01:304,33733,526,82012,888,000991,0002,277,376
6Apr 16, 2025 01:294,33730,490,89712,886,000991,0002,277,376
7Apr 16, 2025 01:294,33728,616,82812,888,000991,0002,277,376
8Apr 16, 2025 01:294,33729,943,89913,879,00002,506,752
9Apr 16, 2025 01:304,33837,134,10012,889,000991,0002,510,848
10Apr 16, 2025 01:304,33840,373,77613,881,00002,277,376
11Apr 16, 2025 01:294,34035,577,57712,896,000992,0002,277,376
12Apr 16, 2025 01:304,34628,493,66512,914,000993,0002,506,752
13Apr 16, 2025 01:294,34831,400,58213,915,00002,277,376
14Apr 16, 2025 01:294,35236,274,33513,925,00002,277,376
15Apr 16, 2025 01:294,35237,786,26112,931,000994,0002,277,376
16Apr 16, 2025 01:304,36029,553,80912,957,000996,0002,506,752
17Apr 16, 2025 01:304,36329,952,51212,964,000997,0002,277,376
18Apr 16, 2025 01:304,36642,210,32512,974,000998,0002,510,848
19Apr 16, 2025 01:314,37638,165,41113,003,0001,000,0002,277,376
20Apr 16, 2025 01:314,37730,668,19313,007,0001,000,0002,277,376
21Apr 16, 2025 01:294,37737,958,29813,006,0001,000,0002,277,376
22Apr 16, 2025 01:314,37831,191,12013,009,0001,000,0002,506,752
23Apr 16, 2025 01:314,38029,798,14513,014,0001,001,0002,277,376
24Apr 16, 2025 01:314,38131,845,80613,017,0001,001,0002,277,376
25Apr 16, 2025 01:314,39829,334,67313,069,0001,005,0002,510,848
26Apr 16, 2025 01:314,40134,838,31813,078,0001,006,0002,277,376
27Apr 16, 2025 01:314,40739,136,40413,096,0001,007,0002,506,752
28Apr 16, 2025 01:314,41330,151,83012,105,0002,017,0002,277,376
29Apr 16, 2025 01:324,67738,036,67313,969,000997,0002,277,376
30Apr 16, 2025 01:324,69927,957,15214,034,0001,002,0002,506,752
31Apr 16, 2025 01:324,72330,626,77714,107,0001,007,0002,506,752