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 listDec 6, 2023 11:35Viktor IarmolaViktor IarmolaScore: 5,592Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 6, 2023 11:355,51248,643,85117,639,00002,281,472
2Dec 6, 2023 11:355,53746,612,65816,677,0001,042,0002,400,256
3Dec 6, 2023 11:355,58035,045,80917,856,00002,396,160
4Dec 6, 2023 11:355,58837,133,81515,894,0001,986,0002,281,472
5Dec 6, 2023 11:355,58842,567,65016,888,000993,0002,281,472
6Dec 6, 2023 11:355,58844,682,51816,889,000993,0002,396,160
7Dec 6, 2023 11:355,59245,545,57015,905,0001,988,0002,400,256
8Dec 6, 2023 11:355,60849,336,25816,949,000997,0002,281,472
9Dec 6, 2023 11:355,62442,193,24216,998,000999,0002,281,472
10Dec 6, 2023 11:355,92366,223,69418,953,43502,289,664
11Dec 6, 2023 11:355,92864,053,77318,970,21702,289,664
12Dec 6, 2023 11:355,95887,594,55819,066,92202,301,952