結果
問題 |
No.656 ゴルフ
|
ユーザー |
![]() |
提出日時 | 2018-09-15 16:40:24 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 189 bytes |
コンパイル時間 | 1,484 ms |
コンパイル使用メモリ | 166,236 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-18 07:05:55 |
合計ジャッジ時間 | 1,981 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 4 |
other | WA * 6 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main(){ string s; cin >> s; int sum=0; for(int i=0; i < 9; i++){ sum += int(s[i]); } cout << sum << endl; }