結果
| 問題 | No.502 階乗を計算するだけ |
| コンテスト | |
| ユーザー |
%20
|
| 提出日時 | 2017-05-03 20:42:59 |
| 言語 | cLay (20241019-1 + boost 1.89.0) |
| 結果 |
CE
|
| 実行時間 | - |
| コード長 | 103 bytes |
| 記録 | |
| コンパイル時間 | 2,475 ms |
| コンパイル使用メモリ | 165,152 KB |
| 最終ジャッジ日時 | 2024-07-05 12:12:02 |
| 合計ジャッジ時間 | 2,862 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
コンパイルメッセージ
main.cpp:414:53: warning: multi-character character constant [-Wmultichar]
414 | for(n<1e9+7?x=((int*)"?y���p%`�7O�9M�#")[5-n/' �!�']:0;n%' �!�';){
| ^~~~~~~~
main.cpp:414:67: warning: multi-character character constant [-Wmultichar]
414 | for(n<1e9+7?x=((int*)"?y���p%`�7O�9M�#")[5-n/' �!�']:0;n%' �!�';){
| ^~~~~~~~~~
main.cpp: In function ‘int main()’:
main.cpp:414:14: error: operands to ‘?:’ have different types ‘mint’ and ‘int’
414 | for(n<1e9+7?x=((int*)"?y���p%`�7O�9M�#")[5-n/' �!�']:0;n%' �!�';){
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.cpp:414:14: note: and each type can be converted to the other
ソースコード
mint x;ll n;{rd(n);for(n<1e9+7?x=((int*)"?yp%`7O9M#")[5-n/' !']:0;n%' !';)x*=n--;wt(x);}
%20