結果

問題 No.547 未知の言語
ユーザー olphe
提出日時 2017-07-28 22:38:04
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 846 bytes
コンパイル時間 1,190 ms
コンパイル使用メモリ 109,916 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-06-26 02:17:03
合計ジャッジ時間 1,897 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 11 WA * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

#include "iostream"
#include "climits"
#include "list"
#include "queue"
#include "stack"
#include "set"
#include "functional"
#include "algorithm"
#include "math.h"
#include "utility"
#include "string"
#include "map"
#include "unordered_map"
#include "iomanip"
#include "random"

using namespace std;
const long long int MOD = 1000000007;

long long int power(long long int x, long long int n, long long int M) {
	long long int tmp = 1;

	if (n > 0) {
		tmp = power(x, n / 2, M);
		if (n % 2 == 0) tmp = (tmp*tmp) % M;
		else tmp = (((tmp*tmp) % M)*x) % M;
	}
	return tmp;
}

long long int N, M, K, Q, W, H, L, R;
long long int ans;


int main() {
	ios::sync_with_stdio(false);
	string s;
	string t;
	cin >> N;
	for (int i = 0; i < N; i++) {
		cin >> s >> t;
		if (s != t) {
			cout << i + 1 << endl << s << endl << t << endl;
		}
	}
	return 0;
}
0