QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#352206 | #4867. So Easy! | mr9952 | WA | 8ms | 10060kb | Python3 | 88b | 2024-03-12 23:33:06 | 2024-03-12 23:33:06 |
Judging History
answer
import math
a,b,n,m = map(int,input().split())
print(int(((a+math.sqrt(b))**n)%m)+1)
详细
Test #1:
score: 0
Wrong Answer
time: 8ms
memory: 10060kb
input:
2 3 1 2012 2 3 2 2012 2 2 1 2012 31603 998691525 860250282 20381 4062 16491843 2741468 17921 26061 679145378 8235021 22991 16225 263237214 865378598 7182 18902 357253267 137732528 3407 25414 645847050 674769818 7114 6903 47648125 254957745 1556 16577 274779382 158233677 1099 939 880815 990631973 610...
output:
4
result:
wrong answer 2nd lines differ - expected: '14', found: ''