/ Vijos /

记录详情

Accepted

foo.cc: In function 'll gcd(ll, ll)':
foo.cc:8:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (a < 0) a = -a; if (b < 0) b = -b;
     ^~
foo.cc:8:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
     if (a < 0) a = -a; if (b < 0) b = -b;
                        ^~
foo.cc: In member function 'void trans_radix::read_str()':
foo.cc:101:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     void read_str() { scanf("%s", s + 1); }
                       ~~~~~^~~~~~~~~~~~~
正在同步测试数据,请稍后
# 状态 耗时 内存占用
#1 Accepted 1ms 1.625 MiB
#2 Accepted 1ms 1.621 MiB
#3 Accepted 2ms 1.625 MiB
#4 Accepted 2ms 1.625 MiB
#5 Accepted 1ms 1.625 MiB
#6 Accepted 2ms 1.625 MiB
#7 Accepted 1ms 1.625 MiB
#8 Accepted 2ms 1.625 MiB
#9 Accepted 1ms 1.625 MiB
#10 Accepted 2ms 1.625 MiB

信息

递交者
类型
递交
题目
P1748 进制转换
语言
C++
递交时间
2021-02-02 16:29:39
评测时间
2021-02-02 16:29:39
评测机
分数
100
总耗时
20ms
峰值内存
1.625 MiB