记录详情

Time Exceeded

foo.cc: In function 'long int qiu(int, int)':
foo.cc:8:9: warning: unused variable 'x' [-Wunused-variable]
     int x=2,y=1;
         ^
foo.cc:8:13: warning: unused variable 'y' [-Wunused-variable]
     int x=2,y=1;
             ^
foo.cc: In function 'int main()':
foo.cc:28:37: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=]
     printf("%d^%d mod %d=%d",a,b,p,g);
                                     ^
foo.cc:28:37: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat=]
foo.cc:28:37: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long int' [-Wformat=]
foo.cc:28:37: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long int' [-Wformat=]
foo.cc: In function 'long int qiu(int, int)':
foo.cc:21:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥414ms ≥384.0 KiB
#2 Wrong Answer Read 100000007=-90815910, expect 100000007=93652064. 1ms 380.0 KiB
#3 Wrong Answer Read 1234=0, expect 1234=618. 121ms 420.0 KiB
#4 Accepted 1ms 440.0 KiB
#5 Time Exceeded ≥660ms ≥404.0 KiB

信息

递交者
类型
递交
题目
P1031 快速幂取模
比赛
周末测试2
语言
C++
递交时间
2021-09-24 20:24:03
评测时间
2021-09-24 20:24:03
评测机
分数
20
总耗时
≥1200ms
峰值内存
≥440.0 KiB