Runtime Error
foo.cc: In function ‘int main()’: foo.cc:19:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} [-Wformat=] 19 | scanf("%s", s1); | ~^ | | | char* foo.cc:20:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘std::string’ {aka ‘std::__cxx11::basic_string<char>’} [-Wformat=] 20 | scanf("%s", s2); | ~^ | | | char*
信息
- 递交者
- 类型
- 自测
- 题目
- P1566 Problem 1D. 又是高精度?!
- 语言
- C++
- 递交时间
- 2024-04-11 12:04:47
- 评测时间
- 2024-04-11 12:04:47
- 评测机
- 分数
- 0
- 总耗时
- 2ms
- 峰值内存
- 496.0 KiB