結果
| 問題 | 
                            No.3203 $\sin{x}$
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2025-07-19 00:38:10 | 
| 言語 | C  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 1 ms / 2,000 ms | 
| コード長 | 279 bytes | 
| コンパイル時間 | 536 ms | 
| コンパイル使用メモリ | 26,828 KB | 
| 実行使用メモリ | 7,716 KB | 
| 最終ジャッジ日時 | 2025-07-19 00:38:20 | 
| 合計ジャッジ時間 | 1,759 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 6 | 
コンパイルメッセージ
main.c: In function ‘main’:
main.c:11:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
   11 |     scanf("%d", &n);
      |     ^~~~~~~~~~~~~~~
            
            ソースコード
#include <stdio.h>
#include <math.h>
#include <limits.h>
#include <stdbool.h>
int main(void) {
    int n;
    scanf("%d", &n);
    double side = sin(n);
    if ((int) side == side) {
        printf("Yes\n");
    }
    else {
        printf("No\n");
    }
    return 0;
}