Submission #1680958


Source Code Expand

#include<stdio.h>
int main()
{
    int a,b,c;
    scanf("%d",&h1);
    scanf("%d",&h2);
    // 出力
    printf("%d\n",h2-h1);
    return 0;
}

Submission Info

Submission Time
Task A - 積雪深差
User jl094623
Language C (GCC 5.4.1)
Score 0
Code Size 152 Byte
Status CE

Compile Error

./Main.c: In function ‘main’:
./Main.c:5:17: error: ‘h1’ undeclared (first use in this function)
     scanf("%d",&h1);
                 ^
./Main.c:5:17: note: each undeclared identifier is reported only once for each function it appears in
./Main.c:6:17: error: ‘h2’ undeclared (first use in this function)
     scanf("%d",&h2);
                 ^