結果
問題 |
No.3177 output only nand problem
|
ユーザー |
|
提出日時 | 2025-06-13 21:26:45 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 642 bytes |
コンパイル時間 | 1,924 ms |
コンパイル使用メモリ | 193,168 KB |
実行使用メモリ | 7,844 KB |
最終ジャッジ日時 | 2025-06-13 21:26:50 |
合計ジャッジ時間 | 1,952 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 |
ソースコード
#include<bits/stdc++.h> using namespace std; void solve() { cout<<"0 0 1"; // for(int i =0;i<2;i++){ // for(int j= 0;j<2;j++){ // for(int k =0;k<2;k++){ // if((!((!(i & j)) & k)) != (!(i & (!(j & k))))) // cout<<i<<" "<<j<<" "<<k<<endl; // } // } // } } int main(){; ios::sync_with_stdio(false); cin.tie(nullptr); cout.flush(); cout<<fixed<<setprecision(9); #ifndef ONLINE_JUDGE freopen("input.txt","r",stdin); freopen("output.txt","w",stdout); #endif int t=1; // cin>>t; while(t--){ solve(); } return 0; }