結果
問題 |
No.8114 Prime Checker+1
|
ユーザー |
![]() |
提出日時 | 2025-02-22 15:14:59 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 322 bytes |
コンパイル時間 | 858 ms |
コンパイル使用メモリ | 71,984 KB |
実行使用メモリ | 6,824 KB |
最終ジャッジ日時 | 2025-02-22 15:15:06 |
合計ジャッジ時間 | 6,248 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 12 WA * 5 RE * 13 |
ソースコード
#include<iostream> #include<vector> #include<set> #include<algorithm> #include<map> using namespace std; using ll=long long; //tekigikousinnsiro int main(){ string n; cin>>n; int a=stoi(n.substr()); if(a%2==1){ cout<<1<<endl; cout<<"No"<<endl; } else{ cout<<0<<endl; cout<<"No"<<endl; } return 0; }