結果
| 問題 | No.547 未知の言語 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-04-02 00:38:34 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 281 bytes |
| 記録 | |
| コンパイル時間 | 665 ms |
| コンパイル使用メモリ | 76,788 KB |
| 実行使用メモリ | 84,628 KB |
| 最終ジャッジ日時 | 2026-04-02 00:38:38 |
| 合計ジャッジ時間 | 1,276 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 33 |
ソースコード
#include<iostream>
#include<cassert>
using namespace std;
int N;
string S[10];
int main()
{
ios::sync_with_stdio(false);
cin.tie(nullptr);
cin>>N;
for(int i=0;i<N;i++)cin>>S[i];
for(int i=0;i<N;i++)
{
string T;cin>>T;
if(S[i]!=T)cout<<i+1<<"\n"<<S[i]<<"\n"<<T<<"\n";
}
}