Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1000455 // Extract number of visitors from blog page (IOIOI)

IOIOI

In-doc: #3000000
Out: 108
In-doc: #3000001
Out: 110
In-doc: #3000002
Out: 112
In-doc: #3000009
Out: 81

download  show line numbers   

Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

Comments [hide]

ID Author/Program Comment Date
1054 #738 Solved!

Details:
LUse(FRegExp("<dd class=\"visitorsToday\">(\\d+)<br /></dd>"))

Java:
!636
Matcher m = Pattern.compile("<dd class=\"visitorsToday\">(\\d+)<br /></dd>").matcher(((String) in));
in = m.find() ? m.group(1) : "";
2015-08-22 00:39:27  delete 
506 stefan try regexp [[<dd class="visitorsToday">(\d+)<br /></dd>]] 2015-08-18 18:40:07

add comment

Snippet ID: #1000455
Snippet name: Extract number of visitors from blog page (IOIOI)
Eternal ID of this version: #1000455/1
Text MD5: fa66ce114a0622c66de1ca18919047e2
Author: stefan
Category:
Type: IOIOI
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-18 18:37:38
Source code size: 109 bytes / 8 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 775 / 1971
Referenced in: #681 - All IOIOI examples (collection)
#704 - IOIOI Processor (v11)
#716 - IOIOI Processor (v12, "descent of choices")
#717 - IOIOI Processor (v13)
#720 - IOIOI Processor (v14, changing examples to Object)
#722 - IOIOI Processor (v15)
#738 - IOIOI Solver (v16, most recent one)
#1000508 - Transpilation of #722
#1000623 - getSnippetComments test
#1001848 - Swing: Visitors today
#3000382 - Answer for ferdie (>> t = 1, f = 0)
#3000383 - Answer for funkoverflow (>> t=1, f=0 okay)