結果
| 問題 | No.656 ゴルフ |
| コンテスト | |
| ユーザー |
lunnear
|
| 提出日時 | 2018-11-16 14:27:16 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 246 bytes |
| 記録 | |
| コンパイル時間 | 564 ms |
| コンパイル使用メモリ | 54,852 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-12-24 14:10:00 |
| 合計ジャッジ時間 | 1,066 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 4 |
| other | WA * 6 |
ソースコード
#include <iostream>
int main()
{
char in[11];
std::cin >> in;
int score = 0;
for(int i = 0; i < 9; i++)
{
score += (in[i] == 0)? 10:in[i];
}
std::cout << score << std::endl;
return 0;
}
lunnear