結果

問題 No.547 未知の言語
ユーザー moti
提出日時 2017-08-13 16:35:59
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 261 bytes
コンパイル時間 2,341 ms
コンパイル使用メモリ 193,160 KB
最終ジャッジ日時 2025-01-05 02:18:25
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 33
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
int main() {
std::string s, t;
getline(cin, s); getline(cin, t);
stringstream ss(s), tt(t);
int cnt = 1;
for (;;) {
ss >> s; tt >> t;
if(s != t) {
cout << cnt << "\n" << s << "\n" << t << "\n";
exit(0);
}
cnt++;
}
}
0