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 listMay 23, 2021 15:00Yuriy LyfenkoYuriy LyfenkoError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 15:0100000Wrong answer: expected "980367 ", got "483215 "
2May 23, 2021 15:005,05738,679,35414,160,0002,022,0002,265,088
3May 23, 2021 15:035,06031,205,74314,169,0002,024,0002,387,968
4May 23, 2021 15:035,06032,720,26614,168,0002,024,0002,265,088
5May 23, 2021 14:585,06236,614,73314,174,0002,024,0002,527,232
6May 23, 2021 15:005,06237,672,92915,187,0001,012,0002,265,088
7May 23, 2021 15:005,06642,936,66514,186,0002,026,0002,265,088
8May 23, 2021 15:005,07336,310,27514,204,0002,029,0002,387,968
9May 23, 2021 14:585,07634,966,85415,227,0001,015,0002,265,088
10May 23, 2021 14:585,08842,135,85815,264,0001,017,0002,396,160
11May 23, 2021 14:585,09042,664,58915,270,0001,018,0002,387,968
12May 23, 2021 15:035,09230,924,81416,294,00002,265,088
13May 23, 2021 14:585,09336,148,17015,279,0001,018,0002,265,088
14May 23, 2021 15:035,09341,003,59115,278,0001,018,0002,265,088
15May 23, 2021 15:035,09443,837,71314,265,0002,037,0002,392,064
16May 23, 2021 15:005,09532,888,30316,304,00002,392,064
17May 23, 2021 15:035,09642,618,76214,269,0002,038,0002,400,256
18May 23, 2021 15:005,09632,121,15915,287,0001,019,0002,506,752
19May 23, 2021 14:585,09846,696,25414,274,0002,039,0002,265,088
20May 23, 2021 14:585,10336,710,43916,329,00002,265,088
21May 23, 2021 15:035,10737,086,97515,320,0001,021,0002,265,088
22May 23, 2021 15:035,10935,779,35815,329,0001,021,0002,400,256
23May 23, 2021 15:035,11738,283,65815,352,0001,023,0002,265,088
24May 23, 2021 15:005,11933,731,21415,357,0001,023,0002,396,160
25May 23, 2021 15:005,12231,087,70415,367,0001,024,0002,265,088
26May 23, 2021 15:005,12936,332,53614,363,0002,051,0002,527,232
27May 23, 2021 14:585,12934,423,79415,387,0001,025,0002,265,088
28May 23, 2021 14:585,15232,689,45916,485,00002,265,088
29May 23, 2021 14:585,31385,096,15817,002,56102,277,376
30May 23, 2021 14:585,31751,527,74217,015,40602,277,376
31May 23, 2021 14:585,322104,996,55417,029,49502,273,280
32May 23, 2021 15:035,32391,558,31517,033,95002,285,568
33May 23, 2021 15:035,33487,849,25817,070,28502,277,376
34May 23, 2021 15:005,33785,838,80317,079,13302,277,376
35May 23, 2021 15:035,36557,019,39517,167,90202,285,568
36May 23, 2021 15:005,40365,082,71917,288,41302,277,376
37May 23, 2021 15:005,40672,932,29617,300,52402,269,184