結果

問題 No.3203 $\sin{x}$
ユーザー Fajar Ramadhani Putra Armadi
提出日時 2025-07-18 22:00:04
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 278 bytes
コンパイル時間 1,766 ms
コンパイル使用メモリ 192,928 KB
実行使用メモリ 7,720 KB
最終ジャッジ日時 2025-07-18 22:00:51
合計ジャッジ時間 2,350 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1 WA * 1
other AC * 1 WA * 5
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:15:14: warning: ‘x’ is used uninitialized [-Wuninitialized]
   15 |     (x == 0) ? cout << "Yes" << endl : cout << "No" << endl;
      |              ^
main.cpp:14:9: note: ‘x’ was declared here
   14 |     int x;
      |         ^

ソースコード

diff #

#include <bits/stdc++.h>

#define fastio                        \
    ios_base::sync_with_stdio(false); \
    cin.tie(NULL)

#define endl "\n"

using namespace std;

int main()
{
    fastio;
    int x;
    (x == 0) ? cout << "Yes" << endl : cout << "No" << endl;
    return 0;
}
0