Submission #949055

#TimeUsernameProblemLanguageResultExecution timeMemory
949055rainboy직사각형 게임 (KPI13_game)C11
0 / 1
0 ms348 KiB
/* what a troll problem */
#include <stdio.h>

int main() {
	int a, b, c, d;

	scanf("%d%d%d%d", &a, &b, &c, &d);
	printf(((long long) a * b) / ((long long) c * d) % 2 == 0 ? "Second\n" : "First\n");
	return 0;
}

Compilation message (stderr)

game.c: In function 'main':
game.c:7:2: warning: ignoring return value of 'scanf' declared with attribute 'warn_unused_result' [-Wunused-result]
    7 |  scanf("%d%d%d%d", &a, &b, &c, &d);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#Verdict Execution timeMemoryGrader output
Fetching results...