摘要: ``` include include using std::cin; using std::cout; int main() { int n, m; cin n m; bool G[26][26]; while (n ) { char a, b; cin a b; G[a 'a'][b 'a'] 阅读全文
posted @ 2017-12-28 20:58 Planet6174 阅读(298) 评论(0) 推荐(0) 编辑
摘要: LA上的题目居然和原题有差别!变成了多组数据 下面这个程序是按原题写的 cpp include include include int main() { int n, t; std::cin n t; double d[1000], s[1000]; for (int i = 0; i d[i] s 阅读全文
posted @ 2017-12-28 19:19 Planet6174 阅读(401) 评论(0) 推荐(0) 编辑