結果
| 問題 | No.9011 数字を全て足そう(数字だけ) |
| ユーザー |
|
| 提出日時 | 2018-03-04 18:39:07 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
WA
不安定
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 209 bytes |
| 記録 | |
| コンパイル時間 | 292 ms |
| コンパイル使用メモリ | 73,304 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2026-09-15 23:31:16 |
| 合計ジャッジ時間 | 1,674 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 WA * 1 |
ソースコード
#include <iostream>
#include <string>
#include <cstdlib>
using namespace std;
int main()
{
string str;
cin >> str;
int ans = 0;
for(auto c : str) {
ans += atoi(&c);
}
cout << ans << endl;
}