记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:21:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (x1 < 0) x1 = 0; if (y1 < 0) y1 = 0;
     ^~
/in/foo.cc:21:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if (x1 < 0) x1 = 0; if (y1 < 0) y1 = 0;
                         ^~
/in/foo.cc:22:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
     if (x2 > n * 2) x2 = n * 2; if (y2 > n * 2) y2 = n * 2; 
     ^~
/in/foo.cc:22:33: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
     if (x2 > n * 2) x2 = n * 2; if (y2 > n * 2) y2 = n * 2; 
                                 ^~
/in/foo.cc:16:12: warning: unused variable 'X' [-Wunused-variable]
   for (int X, Y, x1, y1, x2, y2, i = 1; i <= n; i++) {
            ^
/in/foo.cc:16:15: warning: unused variable 'Y' [-Wunused-variable]
   for (int X, Y, x1, y1, x2, y2, i = 1; i <= n; i++) {
               ^
/in/foo.cc:16:18: warning: unused variable 'x1' [-Wunused-variable]
   for (int X, Y, x1, y1, x2, y2, i = 1; i <= n; i++) {
                  ^~
/in/foo.cc:16:22: warning: unused variable 'y1' [-Wunused-variable]
   for (int X, Y, x1, y1, x2, y2, i = 1; i <= n; i++) {
                      ^~
/in/foo.cc:16:26: warning: unused variable 'x2' [-Wunused-variable]
   for (int X, Y, x1, y1, x2, y2, i = 1; i <= n; i++) {
                          ^~
/in/foo.cc:16:30: warning: unused variable 'y2' [-Wunused-variable]
   for (int X, Y, x1, y1, x2, y2, i = 1; i <= n; i++) {
                              ^~
# 状态 耗时 内存占用
#1 Accepted 1ms 2.195 MiB
#2 Accepted 1ms 2.328 MiB
#3 Accepted 1ms 2.203 MiB
#4 Accepted 23ms 8.293 MiB
#5 Accepted 36ms 7.988 MiB
#6 Accepted 27ms 8.32 MiB
#7 Accepted 32ms 7.945 MiB
#8 Accepted 721ms 19.387 MiB
#9 Accepted 730ms 19.387 MiB
#10 Accepted 753ms 19.32 MiB

信息

递交者
类型
递交
题目
题2 生命
题目数据
下载
语言
C++
递交时间
2019-08-23 11:45:40
评测时间
2019-08-23 11:45:40
评测机
分数
100
总耗时
2331ms
峰值内存
19.387 MiB