QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#79765#3724. Strange PrimePure_FuriesWA 250ms3484kbC++14150b2023-02-20 21:19:302023-02-20 21:19:32

Judging History

你现在查看的是最新测评结果

  • [2023-08-10 23:21:45]
  • System Update: QOJ starts to keep a history of the judgings of all the submissions.
  • [2023-02-20 21:19:32]
  • 评测
  • 测评结果:WA
  • 用时:250ms
  • 内存:3484kb
  • [2023-02-20 21:19:30]
  • 提交

answer

#import<iostream>
int64_t n,x,M=1e9+7,t,a;main(){while(std::cin>>n){t=a=215686276;for(;n--;(t*=M-x)%=M,(a*=M-51-x)%=M)std::cin>>x;printf("%d\n",a);}}

詳細信息

Test #1:

score: 0
Wrong Answer
time: 250ms
memory: 3484kb

input:

10
2357 42596 7212 30898 43465 68984 60783 59520 53767 77560
10
39115 88080 83553 61736 90821 39690 13194 81396 38051 55993
10
95070 81321 71632 21071 10807 46105 66844 63678 47577 75132
10
43898 93215 26791 11849 61857 1423 76971 83489 52044 61325
10
22610 16613 90 53598 80110 42651 64942 67114 242...

output:

727727691
683585005
904077179
92412963
675132488
198397323
420771304
219644293
989499920
254915073
791503333
687510611
948848003
668971968
857706894
497039365
442123253
3160035
370980935
30683365
646714319
184080650
964399900
171895707
198895626
155009881
82426857
744604334
822505143
427228667
91226...

result:

wrong answer 1st numbers differ - expected: '8747181', found: '727727691'