結果

問題 No.547 未知の言語
ユーザー cwwcww
提出日時 2017-08-27 15:26:30
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 289 ms / 2,000 ms
コード長 757 bytes
コンパイル時間 1,754 ms
コンパイル使用メモリ 171,064 KB
実行使用メモリ 394,068 KB
最終ジャッジ日時 2023-09-08 09:38:28
合計ジャッジ時間 12,700 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 285 ms
393,916 KB
testcase_01 AC 285 ms
394,056 KB
testcase_02 AC 284 ms
393,916 KB
testcase_03 AC 285 ms
393,844 KB
testcase_04 AC 289 ms
394,068 KB
testcase_05 AC 289 ms
394,020 KB
testcase_06 AC 282 ms
393,792 KB
testcase_07 AC 284 ms
394,044 KB
testcase_08 AC 285 ms
394,056 KB
testcase_09 AC 284 ms
393,804 KB
testcase_10 AC 284 ms
393,792 KB
testcase_11 AC 287 ms
393,864 KB
testcase_12 AC 285 ms
393,920 KB
testcase_13 AC 284 ms
393,868 KB
testcase_14 AC 287 ms
393,788 KB
testcase_15 AC 282 ms
394,068 KB
testcase_16 AC 286 ms
393,900 KB
testcase_17 AC 284 ms
393,800 KB
testcase_18 AC 284 ms
394,012 KB
testcase_19 AC 286 ms
393,976 KB
testcase_20 AC 286 ms
393,848 KB
testcase_21 AC 285 ms
393,912 KB
testcase_22 AC 285 ms
394,024 KB
testcase_23 AC 285 ms
394,008 KB
testcase_24 AC 285 ms
394,028 KB
testcase_25 AC 285 ms
394,064 KB
testcase_26 AC 286 ms
393,900 KB
testcase_27 AC 286 ms
393,976 KB
testcase_28 AC 284 ms
393,868 KB
testcase_29 AC 284 ms
393,916 KB
testcase_30 AC 289 ms
394,016 KB
testcase_31 AC 288 ms
394,008 KB
testcase_32 AC 285 ms
394,040 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
#define REP(i,n) for(int i=0; i<(n); i++)
#define REP2(i,x,n) for(int i=x; i<(n); i++)
#define ALL(n) begin(n),end(n)
#define SORT(x) sort((x).begin(),(x).end(),greater<int>())
using LL=long long;
using ULL=unsigned long long;
using PII=pair<int,int>;
const int INF = numeric_limits<int>::max();
struct cww{cww(){ios::sync_with_stdio(false);cin.tie(0);}}star;
vector<vector<int>> memo( 10000 + 1, vector<int>( 10000 + 1, -1 ) );
int main()
{
	int N;
	cin >> N;
	vector<string> S(N), T(N);
	REP( i, N )
	{
		cin >> S[ i ];
	}
	REP( i, N )
	{
		cin >> T[ i ];
	}
	REP( i, N )
	{
		if( S[ i ] != T[ i ] )
        {
			cout << i + 1 << endl;
			cout << S[ i ] << endl;
			cout << T[ i ] << endl;
		}
	}
	return 0;
}
0