Submission #1681016


Source Code Expand

#include <stdio.h>
int main()
{
  /* 2つの数値 */
  Int a, b;
  /* 数値の入力 */
  scanf("%d", &a);
  scanf("%d", &b);
  /* 数値の大小を判定 */
  if (a > b) {
    printf("%d\n",a);
  }
  else {
    printf("%d\n",b);
  }
  return 0;
}

Submission Info

Submission Time
Task A - 正直者
User jl094623
Language C (GCC 5.4.1)
Score 0
Code Size 266 Byte
Status CE

Compile Error

./Main.c: In function ‘main’:
./Main.c:5:3: error: unknown type name ‘Int’
   Int a, b;
   ^
./Main.c:7:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d", &a);
   ^
./Main.c:8:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d", &b);
   ^