Submission #74748929


Source Code Expand

#include <stdio.h>
#include <string.h>
#define S (10)

int main(void)
{
  char s[S + 1], t[S + 1];

  scanf("%s", s);
  scanf("%s", t);
  if (strcmp(s, "AtCoder") == 0 && strcmp(t, "Land") == 0)
    {
      printf("Yes\n");
    }
  else
    {
      printf("No\n");
    }
  return 0;
}
	 

Submission Info

Submission Time
Task B - Welcome to AtCoder Land
User nagicham
Language C23 (GCC 14.2.0)
Score 100
Code Size 309 Byte
Status AC
Exec Time 0 ms
Memory 1692 KiB

Compile Error

Main.c: In function ‘main’:
Main.c:9:3: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 |   scanf("%s", s);
      |   ^~~~~~~~~~~~~~
Main.c:10:3: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   10 |   scanf("%s", t);
      |   ^~~~~~~~~~~~~~

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 100 / 100
Status
AC × 3
AC × 11
Set Name Test Cases
Sample 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt
All 00_sample_00.txt, 00_sample_01.txt, 00_sample_02.txt, 01_random_00.txt, 01_random_01.txt, 01_random_02.txt, 01_random_03.txt, 01_random_04.txt, 01_random_05.txt, 02_handmade_00.txt, 02_handmade_01.txt
Case Name Status Exec Time Memory
00_sample_00.txt AC 0 ms 1628 KiB
00_sample_01.txt AC 0 ms 1580 KiB
00_sample_02.txt AC 0 ms 1596 KiB
01_random_00.txt AC 0 ms 1624 KiB
01_random_01.txt AC 0 ms 1572 KiB
01_random_02.txt AC 0 ms 1692 KiB
01_random_03.txt AC 0 ms 1668 KiB
01_random_04.txt AC 0 ms 1620 KiB
01_random_05.txt AC 0 ms 1676 KiB
02_handmade_00.txt AC 0 ms 1596 KiB
02_handmade_01.txt AC 0 ms 1676 KiB