调用函数

调用函数

天生我材必有难,千金散尽还债来 · 发布于 2025-03-09 · 浏览 364 回复 0
#include<iostream>
#include<regex>
using namespace std; 
int main(){
	string s1,s2;
	cin>>s1>>s2;
	regex re(s2);
	if(regex_match(s1,re)) cout<<"true";
	else cout<<"false";
	return 0;
}

全部回复 共 0 条

还没有人回复。往下写第一条。

发表回复