Accepted
foo.cc: In function ‘int main()’: foo.cc:10:23: warning: iteration 999998 invokes undefined behavior [-Waggressive-loop-optimizations] 10 | num[i]=((num[i-1]%p)*(i%p))%p;; | ^ foo.cc:9:22: note: within this loop 9 | for (ll i=2;i<=1000000;i++) | ~^~~~~~~~~
信息
- 递交者
- 类型
- 自测
- 题目
- P1563 Problem 1A. Factorial
- 语言
- C++
- 递交时间
- 2024-04-11 11:38:46
- 评测时间
- 2024-04-11 11:38:46
- 评测机
- 分数
- 10
- 总耗时
- 15ms
- 峰值内存
- 8.016 MiB