Compile Error
foo.cpp: In function 'int main()':
foo.cpp:12:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d", &a[i]);
^
foo.cpp:28:17: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d", ans);
^
foo.cpp:29:9: error: expected '}' at end of input
return 0;
^
信息
- 递交者
- 类型
- 递交
- 题目
- P1097 合并果子
- 语言
- C++
- 递交时间
- 2016-11-17 09:26:43
- 评测时间
- 2016-11-17 09:26:44
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes