Submission #286920

Source Code Expand

#include <stdio.h>
#define scanf scanf_s
int main(){
	int tyoten;
	int renketsu;
	int t, r;

	scanf("%d", &tyoten);
	scanf("%d", &renketsu);

	if (tyoten ==renketsu) printf("YES\n");
	else {
		if (tyoten == 3) printf("NO\n");
			if (tyoten % 2 == renketsu % 2) printf("YES\n");
			else printf("NO\n");
	return 0;

Submission Info

Submission Time
Task A - 閉路グラフ
User shoou0000
Language C (GCC 4.4.7)
Score 0
Code Size 348 Byte
Status CE

Compile Error

/tmp/ccQsgZ3n.o: In function `main':
Main.c:(.text+0x11): undefined reference to `scanf_s'
Main.c:(.text+0x22): undefined reference to `scanf_s'
collect2: ld returned 1 exit status