Submission #12618779
Source Code Expand
A,B,N = gets.split.map(&:to_i) p(A*N/B - N/B*A)
Submission Info
| Submission Time | |
|---|---|
| Task | D - Floor Function |
| User | ds14050 |
| Language | Ruby (2.7.1) |
| Score | 0 |
| Code Size | 50 Byte |
| Status | WA |
| Exec Time | 54 ms |
| Memory | 14308 KiB |
Judge Result
| Set Name | Sample | All | ||||||
|---|---|---|---|---|---|---|---|---|
| Score / Max Score | 0 / 0 | 0 / 400 | ||||||
| Status |
|
|
| Set Name | Test Cases |
|---|---|
| Sample | 01.txt, 02.txt |
| All | 01.txt, 02.txt, 11.txt, 12.txt, 13.txt, 14.txt, 15.txt, 16.txt, 17.txt, 18.txt |
| Case Name | Status | Exec Time | Memory |
|---|---|---|---|
| 01.txt | AC | 52 ms | 14084 KiB |
| 02.txt | AC | 52 ms | 14308 KiB |
| 11.txt | WA | 50 ms | 14176 KiB |
| 12.txt | AC | 53 ms | 14140 KiB |
| 13.txt | AC | 50 ms | 14108 KiB |
| 14.txt | WA | 53 ms | 14168 KiB |
| 15.txt | AC | 51 ms | 14032 KiB |
| 16.txt | AC | 54 ms | 14212 KiB |
| 17.txt | WA | 51 ms | 14112 KiB |
| 18.txt | AC | 54 ms | 14096 KiB |