結果
| 問題 |
No.8012 Catch C code
|
| ユーザー |
Lay_ec
|
| 提出日時 | 2015-09-01 02:12:24 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 432 bytes |
| コンパイル時間 | 420 ms |
| コンパイル使用メモリ | 58,428 KB |
| 実行使用メモリ | 16,952 KB |
| 最終ジャッジ日時 | 2024-07-18 17:16:48 |
| 合計ジャッジ時間 | 5,888 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 1 |
ソースコード
#include <iostream>
#include <fstream>
using namespace std;
int main(){
ifstream ifs("catch.o",ios::binary);
char c1,c2,c3,c4,c5;
int num=1;
ifs>>c1>>c2>>c3>>c4;
while(!ifs.eof()){
ifs>>c5;
if(c1=='F' && c2=='L' && c3=='A' && c4=='G' && c5=='_'){
cout<<"FLAG_";
for(int i=0;i<num;i++){
int c;
ifs>>c;
cout<<c;
}
cout<<endl;
return 0;
}
c1=c2; c2=c3; c3=c4; c4=c5;
}
return 0;
}
Lay_ec