| Thông tin | Giá trị |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
n = int(input()) | |
data = [] | |
for _ in range(n): | |
l = [int(i) for i in input().split()] | |
next_line = False | |
for na in range(1, l[0] + 1): | |
for nb in range(1, l[1] + 1): | |
if na * l[2] + nb * 1 == l[3]: | |
next_line = True |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BLACK = "\N{ESC}[30m" | |
RED = "\N{ESC}[31m" | |
GREEN = "\N{ESC}[32m" | |
YELLOW = "\N{ESC}[33m" | |
GOLD = YELLOW | |
BLUE = "\N{ESC}[34m" | |
MAGENTA = "\N{ESC}[35m" | |
CYAN = "\N{ESC}[36m" | |
WHITE = "\N{ESC}[37m" | |
RESET = "\N{ESC}[0m" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# scrapelib - a simple library to look up student's scores in Bắc Ninh, Việt Nam. | |
# Copyright (C) 2022-2023 SpikeBonjour | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU Affero General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or | |
# (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import bs4 | |
URL = "https://www.nchmf.gov.vn/kttv/" | |
html = requests.get(URL).text | |
document = bs4.BeautifulSoup(html, 'html.parser') | |
target = document.select(".wt-city") | |
target = target[0] |
I hereby claim:
- I am SpikeVN on github.
- I am spike_vn (https://keybase.io/spike_vn) on keybase.
- I have a public key whose fingerprint is 2AA7 A8B9 9039 6AF3 8563 E1BC 32D2 5513 BA07 9E31
To claim this, I am signing this object:
Welcome to this webhook spammer. Before using it, please read the following:
- THIS IS FOR EDUCATIONAL PURPOSES ONLY. You can get into trouble by using this without consent.
- RUNNING THIS WITHOUT PERMISSON IS A VIOLATION OF DISCORD TERMS OF SERVICE.
At paragraph 3, Communications:
You may use the Service to send messages to other users of the Service. You agree that your use of the Service will
not include sending unsolicited marketing messages or broadcasts (i.e., spam). We may utilize a variety of means to
block spammers and abusers from using the Service.