답안 #949055

# 제출 시각 아이디 문제 언어 결과 실행 시간 메모리
949055 2024-03-18T21:41:59 Z rainboy 직사각형 게임 (KPI13_game) C
0 / 1
0 ms 348 KB
/* 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

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);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# 결과 실행 시간 메모리 Grader output
1 Correct 0 ms 344 KB Output is correct
2 Correct 0 ms 348 KB Output is correct
3 Correct 0 ms 348 KB Output is correct
4 Correct 0 ms 348 KB Output is correct
5 Correct 0 ms 348 KB Output is correct
6 Correct 0 ms 348 KB Output is correct
7 Correct 0 ms 348 KB Output is correct
8 Correct 0 ms 348 KB Output is correct
9 Correct 0 ms 344 KB Output is correct
10 Incorrect 0 ms 348 KB Output isn't correct
11 Halted 0 ms 0 KB -