結果
| 問題 |
No.3177 output only nand problem
|
| コンテスト | |
| ユーザー |
ruase_
|
| 提出日時 | 2025-08-14 20:51:32 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 397 bytes |
| コンパイル時間 | 900 ms |
| コンパイル使用メモリ | 78,616 KB |
| 実行使用メモリ | 6,272 KB |
| 最終ジャッジ日時 | 2025-08-14 20:51:34 |
| 合計ジャッジ時間 | 1,292 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 |
ソースコード
# include <iostream>
# include <tuple>
# include <limits>
using namespace std;
bool Nand(const bool& A, const bool& B) {
return !(A & B);
}
int main() {
for(int a = 0; a <= 1; a++)
{
for(int b = 0; b <= 1; b++)
{
for(int c = 0; c <= 1; c++)
{
if (!(Nand(Nand(a,b),c) == Nand(a,Nand(b,c))))
{
cout << a << b << c << endl;
}
}
}
}
}
ruase_