摘要:
题意: 按照给定的条件判断给出的邮箱地址是否合法。Solution: 模拟。需要注意输入中可能包含空格。 空串不能作为symbol,因此prefix也不能包含连续和出现在首尾的'.'#include #include #include using namespace std;int n;st... 阅读全文
摘要:
简单的题。直接找题意来就好了。#include #include using namespace std;int s, n, ans;int main() { cin >> s >> n; n -= s; if (n >= 30 * 60) ans++; if (n >=... 阅读全文