結果
問題 |
No.1011 Infinite Stairs
|
ユーザー |
![]() |
提出日時 | 2019-11-21 21:39:15 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 221 bytes |
コンパイル時間 | 538 ms |
コンパイル使用メモリ | 63,924 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2024-10-08 18:47:51 |
合計ジャッジ時間 | 3,697 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 RE * 1 |
other | WA * 9 RE * 15 |
ソースコード
#include<iostream> #include<cassert> int main(){ int N;std::cin>>N; assert(1<=N&&N<=100); bool ok=false; for(int i=2;i<N;++i){ if(N%i==0) ok=true; } std::cout<<(ok?"Yes":"No")<<std::endl; }