結果
問題 |
No.389 ロジックパズルの組み合わせ
|
ユーザー |
👑 ![]() |
提出日時 | 2017-11-15 23:56:06 |
言語 | cLay (20241019-1) |
結果 |
WA
|
実行時間 | - |
コード長 | 92 bytes |
コンパイル時間 | 2,543 ms |
コンパイル使用メモリ | 172,436 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-05 12:46:12 |
合計ジャッジ時間 | 7,609 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 21 WA * 78 |
コンパイルメッセージ
main.cpp: In function ‘int main()’: main.cpp:363:14: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘mint’ [-Wformat=] 363 | printf(x?"%d":"NA",x); | ~^ ~ | | | | int mint
ソースコード
mint M,x;ll H,N;{rd(M);for(x=1;cin>>H;N+=H>0)M+=~H;x/=(1..N)/(M+2..);printf(x?"%d":"NA",x);}