Time Exceeded
foo.cc: In function 'int main()': foo.cc:23:12: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] 23 | printf("%d\n", ans); | ~^ ~~~ | | | | int long long int | %lld foo.cc:15:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 15 | scanf("%d", &q); | ~~~~~^~~~~~~~~~ foo.cc:17:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] 17 | scanf("%d%d", &l, &r); | ~~~~~^~~~~~~~~~~~~~~~
Found 20 testcases.
您没有权限查看该代码,完成本题后再来查看
信息
- 递交者
- 类型
- 递交模式
- 题目
- P5844 星河
- 语言
- C++14
- 递交时间
- 2022-08-22 20:02:25
- 评测时间
- 2022-08-22 20:02:25
- 评测机
- 分数
- 30
- 总耗时
- ≥15952ms
- 峰值内存
- ≥428.0 KiB