結果
| 問題 | 
                            No.1092 modular arithmetic
                             | 
                    
| ユーザー | 
                             %20
                         | 
                    
| 提出日時 | 2020-06-24 09:46:33 | 
| 言語 | Ruby  (3.4.1)  | 
                    
| 結果 | 
                             
                                TLE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 108 bytes | 
| コンパイル時間 | 344 ms | 
| コンパイル使用メモリ | 7,552 KB | 
| 実行使用メモリ | 66,720 KB | 
| 最終ジャッジ日時 | 2024-07-03 20:01:33 | 
| 合計ジャッジ時間 | 4,067 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge2 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 1 | 
| other | TLE * 1 -- * 31 | 
コンパイルメッセージ
Syntax OK
ソースコード
class Integer
def / a
self*a.pow(P-2,P)
end
end
P=gets.to_i
p gets.split.inject{|a,b|eval"#{a}"+$<.getc+b}%P
            
            
            
        
            
%20