結果
問題 | No.739 大事なことなので2度言います |
ユーザー |
|
提出日時 | 2018-11-01 22:53:12 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 333 bytes |
コンパイル時間 | 888 ms |
コンパイル使用メモリ | 67,076 KB |
最終ジャッジ日時 | 2025-01-06 15:20:11 |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 6 WA * 1 |
ソースコード
#include<iostream> #include<string> using namespace std; int main() { int cnt[26]={}; string str; cin>>str; for(int i=0;i<str.length();i++)cnt[str[i]-'a']++; bool checker=true; for(int i=0;i<26;i++){ if(cnt[i]%2 != 0){ checker = false; break; } } if(checker)cout<<"YES"<<endl; else cout<<"NO"<<endl; return 0; }