結果
| 問題 | No.547 未知の言語 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-04-02 00:38:34 |
| 言語 | C++14 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| + 353µs | |
| コード長 | 281 bytes |
| 記録 | |
| コンパイル時間 | 304 ms |
| コンパイル使用メモリ | 73,984 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-08-16 19:36:50 |
| 合計ジャッジ時間 | 1,843 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_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";
}
}