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 25, 2021 03:15Alexander KimAlexander KimScore: 5,727Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 25, 2021 03:155,67041,472,64616,128,0002,016,0002,301,952
2Dec 25, 2021 03:155,68438,746,34617,180,0001,010,0002,306,048
3Dec 25, 2021 03:155,68633,636,93316,175,0002,021,0002,334,720
4Dec 25, 2021 03:155,68936,023,15417,195,0001,011,0002,334,720
5Dec 25, 2021 03:155,69941,116,38017,223,0001,013,0002,334,720
6Dec 25, 2021 03:155,70538,825,76317,242,0001,014,0002,334,720
7Dec 25, 2021 03:155,72799,902,75718,325,28802,277,376
8Dec 25, 2021 03:155,73184,813,40118,339,34402,281,472
9Dec 25, 2021 03:155,75540,230,34715,347,0003,069,0002,334,720
10Dec 25, 2021 03:155,76946,085,82415,384,0003,076,0002,334,720
11Dec 25, 2021 03:155,80949,464,04217,556,0001,032,0002,334,720
12Dec 25, 2021 03:155,84892,018,74018,712,11402,281,472