結果

問題 No.809 かけ算
ユーザー Maeda
提出日時 2025-03-10 15:23:28
言語 C
(gcc 15.3.0)
コンパイル:
gcc-15 -O2 -fplugin=/usr/lib/yukicoder/noavx512-gcc15.so -DONLINE_JUDGE -o a.out _filename_ -lm
実行:
./a.out
結果
RE  
実行時間 -
コード長 310 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 76 ms
コンパイル使用メモリ 41,144 KB
実行使用メモリ 9,924 KB
最終ジャッジ日時 2026-10-31 09:05:35
合計ジャッジ時間 2,555 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge7_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample RE * 1
other WA * 2 RE * 4
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include <stdio.h>
#include <string.h>
void main(void){
	int n = 0;
	scanf("%d",&n);
	char str[n][100];
	char ans[100] = "";
	for(int i = 0 ; i < n ; i++){
		scanf("%s",str[i]);
	}
	for(int i = 0 ; i < n ; i++){
		scanf("%s",ans);
		if(strcmp(str[i],ans) != 0){
			printf("%d\n%s\n%s",i+1,str[i],ans);
		}
	}
}
0