結果

問題 No.8051 cracked
ユーザー Haar
提出日時 2019-04-02 07:06:50
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
TLE  
実行時間 -
コード長 140 bytes
コンパイル時間 832 ms
コンパイル使用メモリ 67,040 KB
実行使用メモリ 45,064 KB
最終ジャッジ日時 2024-07-16 17:06:54
合計ジャッジ時間 4,896 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other TLE * 1 -- * 23
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp:2:16: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | char c,d;int i;main(){std::ifstream f(__FILE__);for(;d=getchar(),f.get(c);++i)if(c-d)printf("%d\n\"%c\"\n\"%c\"",i,c,d);}
      |                ^~~~

ソースコード

diff #

#include<fstream>
char c,d;int i;main(){std::ifstream f(__FILE__);for(;d=getchar(),f.get(c);++i)if(c-d)printf("%d\n\"%c\"\n\"%c\"",i,c,d);}
0