結果
問題 |
No.3197 Frequency Counter
|
ユーザー |
👑 |
提出日時 | 2025-07-11 22:27:47 |
言語 | cLay (20241019-1) |
結果 |
CE
|
実行時間 | - |
コード長 | 84 bytes |
コンパイル時間 | 2,703 ms |
コンパイル使用メモリ | 178,752 KB |
最終ジャッジ日時 | 2025-07-11 22:27:52 |
合計ジャッジ時間 | 3,471 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
コンパイルメッセージ
main.cpp:222:17: error: stray ‘@’ in program 222 | long long A[N]@Q; | ^ main.cpp: In function ‘int main()’: main.cpp:222:18: error: expected initializer before ‘Q’ 222 | long long A[N]@Q; | ^ main.cpp:226:10: error: ‘A’ was not declared in this scope 226 | rd(A[Nzj9Y0kE]); | ^ main.cpp:231:7: error: ‘A’ was not declared in this scope 231 | C[A[i]]+=1; | ^ main.cpp:233:30: error: ‘Q’ was not declared in this scope 233 | for(bs24PFPc=(0);bs24PFPc<(Q);bs24PFPc++){ | ^
ソースコード
ll@N,@A[N]@Q;map<int,int>C;rep(i,N)C[A[i]]+=1;rep(Q){ll@x,@k;wt(C[x]<k?"No":"Yes");}