結果
問題 |
No.1432 Not Xor
|
ユーザー |
![]() |
提出日時 | 2021-03-20 14:49:43 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 129 bytes |
コンパイル時間 | 601 ms |
コンパイル使用メモリ | 26,496 KB |
最終ジャッジ日時 | 2025-01-19 20:14:07 |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 7 |
コンパイルメッセージ
main.cpp: In function ‘int main()’: main.cpp:6:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 6 | scanf("%d %d", &a, &b); | ~~~~~^~~~~~~~~~~~~~~~~
ソースコード
#include<cstdio> #include<cstdint> int main(){ int a, b; scanf("%d %d", &a, &b); printf("%d\n", (a|b) + (a&b)); return 0; }