Accepted
/in/foo.cc: In function 'int main()':
/in/foo.cc:33:19: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d",&a[i]);
^
/in/foo.cc:39:8: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
mid=l+r>>1;
~^~
/in/foo.cc:29:20: warning: unused variable 'ans' [-Wunused-variable]
int r=0,l=1e9,mid,ans;
^~~
信息
- 递交者
- 类型
- 递交
- 题目
- 2017.07.03 P2 巧克力
- 语言
- C++
- 递交时间
- 2017-07-25 19:08:12
- 评测时间
- 2017-07-25 19:08:12
- 评测机
- 分数
- 200
- 总耗时
- 82ms
- 峰值内存
- 1.102 MiB