0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-27 14:36:27 +00:00

#118. 正则表达式 [80pts]

https://loj.ac/s/1316374
This commit is contained in:
Baoshuo Ren 2021-12-04 19:50:03 +08:00
parent a97a0cf674
commit b94642ddc6
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68
23 changed files with 81 additions and 0 deletions

15
LibreOJ/118/118.cpp Normal file
View File

@ -0,0 +1,15 @@
#include <bits/stdc++.h>
using std::cin;
using std::cout;
using std::endl;
std::string s, re;
int main() {
std::ios::sync_with_stdio(false);
while (cin >> re >> s) {
cout << (std::regex_match(s, std::regex(re)) ? "Yes" : "No") << endl;
}
return 0;
}

BIN
LibreOJ/118/data/regular1.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
LibreOJ/118/data/regular1.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
LibreOJ/118/data/regular10.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
LibreOJ/118/data/regular10.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
LibreOJ/118/data/regular2.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
LibreOJ/118/data/regular2.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
LibreOJ/118/data/regular3.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
LibreOJ/118/data/regular3.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
LibreOJ/118/data/regular4.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
LibreOJ/118/data/regular4.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
LibreOJ/118/data/regular5.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
LibreOJ/118/data/regular5.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
LibreOJ/118/data/regular6.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
LibreOJ/118/data/regular6.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
LibreOJ/118/data/regular7.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
LibreOJ/118/data/regular7.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
LibreOJ/118/data/regular8.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
LibreOJ/118/data/regular8.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
LibreOJ/118/data/regular9.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
LibreOJ/118/data/regular9.out (Stored with Git LFS) Normal file

Binary file not shown.

BIN
LibreOJ/118/data/regular_hack.in (Stored with Git LFS) Normal file

Binary file not shown.

BIN
LibreOJ/118/data/regular_hack.out (Stored with Git LFS) Normal file

Binary file not shown.