Mujin Programming Challenge 2017

Submission #1569590

Source codeソースコード

#include <stdio.h>
long long int f(long long int h)
{
    if(h==1)
        {
            printf("%lld",h);
            return 1;
        }
    else
        {
            long long int ff=h*f(h-1);
            printf("%lld",h);
            return 1;
        }
}
int main()
{
    long long int t;
    scanf("%lld",&t);
    long long int ans=0;
    f(t);
    printf("\n");
    return 0;
}

Submission

Task問題 A - Robot Racing
User nameユーザ名 vjudge1
Created time投稿日時
Language言語 C (GCC 5.4.1)
Status状態 WA
Score得点 0
Source lengthソースコード長 386 Byte
File nameファイル名
Exec time実行時間 ms
Memory usageメモリ使用量 -

Compiler messageコンパイルメッセージ

./Main.c: In function ‘main’:
./Main.c:19:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&t);
^

Test case

Set

Set name Score得点 / Max score Cases
Sample - 0_00.txt,0_01.txt,0_02.txt,0_03.txt
Subtask 0 / 500 0_00.txt,0_01.txt,0_02.txt,1_00.txt,1_01.txt,1_02.txt,1_03.txt,1_04.txt,1_05.txt,1_06.txt,1_07.txt,1_08.txt,1_09.txt,1_10.txt
All 0 / 400 0_00.txt,0_01.txt,0_02.txt,0_03.txt,1_00.txt,1_01.txt,1_02.txt,1_03.txt,1_04.txt,1_05.txt,1_06.txt,1_07.txt,1_08.txt,1_09.txt,1_10.txt,2_00.txt,2_01.txt,2_02.txt,2_03.txt,2_04.txt,2_05.txt,2_06.txt,2_07.txt,2_08.txt,2_09.txt,2_10.txt,2_11.txt,2_12.txt

Test case

Case name Status状態 Exec time実行時間 Memory usageメモリ使用量
0_00.txt WA
0_01.txt WA
0_02.txt WA
0_03.txt WA
1_00.txt WA
1_01.txt WA
1_02.txt WA
1_03.txt WA
1_04.txt WA
1_05.txt WA
1_06.txt WA
1_07.txt WA
1_08.txt WA
1_09.txt WA
1_10.txt WA
2_00.txt WA
2_01.txt WA
2_02.txt WA
2_03.txt WA
2_04.txt WA
2_05.txt WA
2_06.txt WA
2_07.txt WA
2_08.txt WA
2_09.txt WA
2_10.txt WA
2_11.txt WA
2_12.txt WA