摘要: A.两个方向都判断。 #include<bits/stdc++.h> using namespace std; string s1,s2; map<char,int> mp; int n; int main() { ios::sync_with_stdio(0); mp['v'] = 0; mp[' 阅读全文
posted @ 2017-08-01 18:35 zzzzzzzzhu 阅读(168) 评论(0) 推荐(0) 编辑
摘要: A.比较两人总时间。 #include<bits/stdc++.h> using namespace std; int s,v1,v2,t1,t2; int main() { ios::sync_with_stdio(false); cin >> s >> v1 >> v2 >> t1 >> t2; 阅读全文
posted @ 2017-08-01 14:21 zzzzzzzzhu 阅读(147) 评论(0) 推荐(0) 编辑