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 12:14kytanskytansScore: 5,366Success
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 12:145,32334,261,78416,031,0001,001,0002,269,184
2Jul 14, 2024 12:145,32536,435,55616,038,0001,002,0002,494,464
3Jul 14, 2024 12:145,34338,405,02816,091,0001,005,0002,269,184
4Jul 14, 2024 12:145,35037,523,10216,112,0001,007,0002,531,328
5Jul 14, 2024 12:145,35033,353,66016,112,0001,007,0002,531,328
6Jul 14, 2024 12:145,35637,261,11616,130,0001,008,0002,265,088
7Jul 14, 2024 12:145,36632,722,68816,161,0001,010,0002,490,368
8Jul 14, 2024 12:145,37438,688,76216,185,0001,011,0002,502,656
9Jul 14, 2024 12:145,39737,918,76917,271,00002,498,560
10Jul 14, 2024 12:145,65173,938,64818,083,60902,248,704
11Jul 14, 2024 12:145,66993,297,26018,139,29902,379,776
12Jul 14, 2024 12:145,68955,797,21018,203,25002,248,704