记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:6:23: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
     scanf("%d%d",&T,&M);
                       ^
/in/foo.cc:6:23: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:8:33: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
         scanf("%d%d",&t[i],&p[i]);
                                 ^
/in/foo.cc:8:33: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=]
/in/foo.cc:15:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
     printf("%d",maxf);
                     ^
# 状态 耗时 内存占用
#1 Accepted 1ms 208.0 KiB
#2 Accepted 1ms 216.0 KiB
#3 Accepted 1ms 216.0 KiB
#4 Accepted 3ms 216.0 KiB
#5 Accepted 18ms 2.305 MiB
#6 Accepted 132ms 2.316 MiB
#7 Accepted 282ms 432.0 KiB
#8 Accepted 501ms 464.0 KiB
#9 Accepted 24ms 336.0 KiB
#10 Accepted 947ms 544.0 KiB

信息

递交者
类型
递交
语言
C++
递交时间
2019-01-28 14:53:02
评测时间
2019-01-28 14:53:35
评测机
分数
100
总耗时
1915ms
峰值内存
2.316 MiB