結果

問題 No.656 ゴルフ
ユーザー greentea011
提出日時 2019-04-01 10:29:42
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 154 bytes
コンパイル時間 140 ms
コンパイル使用メモリ 31,488 KB
実行使用メモリ 6,824 KB
最終ジャッジ日時 2024-11-24 16:05:04
合計ジャッジ時間 630 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 3
other AC * 2 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <stdio.h>
int main() {
    char s[11];
    int ans=0;
    scanf("%s",s);
    for (int i=0;i<9;i++) ans+=(s[i]-'0')%39;
    printf("%d\n",ans);
}
0