結果
| 問題 |
No.2777 Wild Flush
|
| コンテスト | |
| ユーザー |
tails
|
| 提出日時 | 2024-06-07 22:01:21 |
| 言語 | cLay (20241019-1) |
| 結果 |
AC
|
| 実行時間 | 5 ms / 2,000 ms |
| コード長 | 89 bytes |
| コンパイル時間 | 2,763 ms |
| コンパイル使用メモリ | 171,660 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-26 08:02:54 |
| 合計ジャッジ時間 | 3,780 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 5 |
| other | AC * 24 |
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:83:10: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
83 | char*r="No";
| ^~~~
main.cpp:96:9: warning: ISO C++ forbids converting a string constant to ‘char*’ [-Wwrite-strings]
96 | r="Yes";
| ^~~~~
ソースコード
char*r="No";ll@n,@k,z[n+1]{};rep(n){ll@a;++z[a];}rep(i,n)if(z[0]+z[i+1]>=k)r="Yes";wt(r);
tails