简体中文
Telegram

讨论串#include <iostream>

3 条消息 · –
已
#include <iostream> #include <cmath> using namespace std; int main (){ int n, m, s=0, y; cin>>n>>m; int x=n%int(pow(10,m)); while(x!=0){ y=x%10; s+=y; x/=10; } cout<<s; } /stdin 123 2

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

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