結果

問題 No.671 1000000007
ユーザー yuyutata123yuyutata123
提出日時 2018-04-27 15:11:38
言語 C
(gcc 12.3.0)
結果
WA  
実行時間 -
コード長 246 bytes
コンパイル時間 643 ms
コンパイル使用メモリ 27,716 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-09-10 06:09:18
合計ジャッジ時間 1,413 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 0 ms
4,384 KB
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 1 ms
4,380 KB
testcase_04 AC 1 ms
4,380 KB
testcase_05 WA -
testcase_06 AC 1 ms
4,376 KB
testcase_07 WA -
testcase_08 AC 1 ms
4,376 KB
testcase_09 AC 0 ms
4,380 KB
testcase_10 AC 1 ms
4,380 KB
testcase_11 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<stdio.h>
#include<stdlib.h>
int main(void){
    
    int N,ans;
    scanf("%d",&N);
    if(N<100||N>1000000000000000){ return 0; }
    
    while(N!=0){
        N=N/10;
        ans++;
    }
    ans=ans-2;
    printf("%d\n",abs(ans-8));
}
0