/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'std::__cxx11::string gjd(std::__cxx11::string, std::__cxx11::string)':
/in/foo.cc:7:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (int i = 0; i < a.size(); i++) a1[i] = a[i] - '0';
                    ~~^~~~~~~~~~
/in/foo.cc:8:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (int i = 0; i < b.size(); i++) b1[i] = b[i] - '0';
                    ~~^~~~~~~~~~
/in/foo.cc:10:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
    for (int i = 0; i < a.size(); i++) {
                    ~~^~~~~~~~~~
/in/foo.cc:11:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
        for (int j = 0; j < b.size(); j++) {
                        ~~^~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 740.0 KiB

信息

递交者
类型
自测
题目
P2000 A x B Problem
语言
C++
递交时间
2024-07-27 13:18:40
评测时间
2024-07-27 13:18:40
评测机
分数
10
总耗时
2ms
峰值内存
740.0 KiB