简体中文
Telegram

讨论串 消息 #33881

7 条消息 · –
  1. S
    2 #include <algorithm> #include <iostream> #include <vector> #include <string> #include <random> #define ll long long #define ld long double using namespace std; void solve(){ string s, ans = "", res = ""; getline(cin, s); int mx = 0; for (char c:s){ if (c == ' '){ if (res.find('2') res.find('5') res.find('6') || res.find('8')){ mx = max(mx, (int)res.size()); ans += res; } if (ans.back() != ' ') ans += ' '; res = ""; } else res += c; } cout << ans << ' ' << mx; } int main(){ cin.tie(nullptr); ios::sync_with_stdio(false); int t = 1; // cin >> t; while(t --) solve(); return 0; }

来自搜索索引的公开信息流 ChatCrawler ——“公开 Telegram 的 Google”;随着该社群被抓取而更新。 时间为 UTC。

仅限公开内容,使用 Telegram 官方 API。 关于 · 常见问题 · 索引限制 · 移除页面 · 目录 · 搜索 · 计算方法