結果

問題 No.1256 連続整数列
ユーザー kpinkcat
提出日時 2023-08-28 16:39:00
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 271 bytes
コンパイル時間 960 ms
コンパイル使用メモリ 100,156 KB
最終ジャッジ日時 2025-02-16 15:21:35
ジャッジサーバーID
(参考情報)
judge2 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 12 WA * 14
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<map>
#include<vector>
#include <algorithm>
#include<math.h>
#include <iomanip>
#include<set>
#include <numeric>
#include<string>
using namespace std;

int main()
{
    int a;
    cin >> a;
    
    cout <<(!(a%3) ? "YES" : "NO") << endl;
}   
0