Submission #40213742


Source Code Expand

#include <stdio.h>

int main (void) {

	for (int i = 0; i < 8; i++) {
		char s[9];
		scanf("%s", s);

		for (int j = 0; j < 8; j++) {
			if (s[j] == '*') {
				printf("%c%d\n", j + 'a', 8 - i);
				return 0;
			}
		}
	}
}

Submission Info

Submission Time
Task B - Chessboard
User InTheBloom
Language C (Clang 10.0.0)
Score 200
Code Size 238 Byte
Status AC
Exec Time 3 ms
Memory 2148 KiB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 2
AC × 10
Set Name Test Cases
Sample sample_01.txt, sample_02.txt
All random_01.txt, random_02.txt, random_03.txt, random_04.txt, random_05.txt, random_06.txt, random_07.txt, random_08.txt, sample_01.txt, sample_02.txt
Case Name Status Exec Time Memory
random_01.txt AC 1 ms 2148 KiB
random_02.txt AC 1 ms 2060 KiB
random_03.txt AC 1 ms 2028 KiB
random_04.txt AC 3 ms 2048 KiB
random_05.txt AC 1 ms 2060 KiB
random_06.txt AC 1 ms 2096 KiB
random_07.txt AC 2 ms 2068 KiB
random_08.txt AC 1 ms 2140 KiB
sample_01.txt AC 1 ms 2048 KiB
sample_02.txt AC 1 ms 2124 KiB