/ Vijos /

记录详情

Accepted

/in/foo.cc:3:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
 main()
      ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:11:11: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
    mid=lft+rgt>>1;
        ~~~^~~~
/in/foo.cc:19:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
  printf("%d %d",aa,bb);
                      ^
/in/foo.cc:19:22: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=]
# 状态 耗时 内存占用
#1 Accepted 1ms 204.0 KiB
#2 Accepted 1ms 204.0 KiB
#3 Accepted 1ms 208.0 KiB
#4 Accepted 1ms 204.0 KiB
#5 Accepted 1ms 208.0 KiB
#6 Accepted 1ms 200.0 KiB
#7 Accepted 1ms 212.0 KiB
#8 Accepted 1ms 200.0 KiB
#9 Accepted 1ms 208.0 KiB
#10 Accepted 1ms 204.0 KiB

信息

递交者
类型
递交
题目
P1912 比例简化
语言
C++
递交时间
2019-11-10 23:47:51
评测时间
2019-11-10 23:47:51
评测机
分数
100
总耗时
12ms
峰值内存
212.0 KiB