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 listJul 14, 2024 11:50kytanskytansScore: 5,333Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 14, 2024 11:505,30040,804,74914,964,0001,995,0002,265,088
2Jul 14, 2024 11:505,30031,945,65814,965,0001,995,0002,527,232
3Jul 14, 2024 11:505,30943,239,57814,990,0001,998,0002,531,328
4Jul 14, 2024 11:505,31234,423,53815,998,000999,0002,490,368
5Jul 14, 2024 11:505,31345,064,64816,003,0001,000,0002,490,368
6Jul 14, 2024 11:505,31538,931,86016,008,0001,000,0002,494,464
7Jul 14, 2024 11:505,31938,121,76216,019,0001,001,0002,527,232
8Jul 14, 2024 11:505,32140,302,39516,025,0001,001,0002,527,232
9Jul 14, 2024 11:505,32436,243,00816,035,0001,002,0002,269,184
10Jul 14, 2024 11:505,32547,177,18316,039,0001,002,0002,269,184
11Jul 14, 2024 11:505,32942,044,59215,046,0002,006,0002,502,656
12Jul 14, 2024 11:505,33042,776,62016,052,0001,003,0002,265,088
13Jul 14, 2024 11:505,33340,287,39815,057,0002,007,0002,269,184
14Jul 14, 2024 11:505,33537,310,95516,067,0001,004,0002,269,184
15Jul 14, 2024 11:505,33941,511,04216,080,0001,005,0002,269,184
16Jul 14, 2024 11:505,35043,402,78215,106,0002,014,0002,269,184
17Jul 14, 2024 11:505,36939,411,18216,172,0001,010,0002,494,464
18Jul 14, 2024 11:505,38337,338,84216,212,0001,013,0002,531,328
19Jul 14, 2024 11:505,63355,311,85418,026,89802,248,704
20Jul 14, 2024 11:505,63477,597,28918,029,16802,240,512
21Jul 14, 2024 11:505,63654,617,08018,035,76202,236,416
22Jul 14, 2024 11:505,65188,802,99518,082,09602,232,320
23Jul 14, 2024 11:505,65779,606,72618,102,91602,371,584
24Jul 14, 2024 11:505,67179,845,97718,148,77602,248,704