結果
問題 | No.313 π |
ユーザー |
|
提出日時 | 2018-03-10 00:51:07 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 453 bytes |
コンパイル時間 | 658 ms |
コンパイル使用メモリ | 72,696 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-11 00:11:57 |
合計ジャッジ時間 | 6,859 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 2 |
other | RE * 32 |
ソースコード
#include <iostream> #include <fstream> #include <algorithm> #include <vector> using namespace std; int main(){ ifstream input_file_stream("http://www.geocities.jp/unko_der/sample_01.txt"); string pi; input_file_stream >> pi; pi[0] = '3'; string input_pi; cin >> input_pi; for(int i = 0; i < input_pi.size(); i++){ if(input_pi[i] != pi[i]){ cout << input_pi[i] << " " << pi[i] << endl; } } }