/ MYOJ /

记录详情

Accepted

/in/foo.cc: In function 'int read()':
/in/foo.cc:11:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if(ch=='-')w=-1;ch=getchar();
         ^~
/in/foo.cc:11:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
         if(ch=='-')w=-1;ch=getchar();
                         ^~
/in/foo.cc: In function 'bool read(int&)':
/in/foo.cc:24:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
         if(ch=='-')w=-1;ch=getchar();
         ^~
/in/foo.cc:24:25: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
         if(ch=='-')w=-1;ch=getchar();
                         ^~
/in/foo.cc: In function 'int main()':
/in/foo.cc:209:20: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized]
         insert(y,s);
                    ^
/in/foo.cc:210:19: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
         lab:printf("%d\n",kth(k));
             ~~~~~~^~~~~~~~~~~~~~~
/in/foo.cc:209:20: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
         insert(y,s);
                    ^
/in/foo.cc:208:17: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
         del(x,s);
                 ^
/in/foo.cc:199:20: warning: 'x' may be used uninitialized in this function [-Wmaybe-uninitialized]
         insert(x,1);
                    ^
/in/foo.cc:196:18: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
     for(int i=1;i<=n;i++){
                 ~^~~
/in/foo.cc:202:18: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized]
     for(int i=1;i<=m;i++){
                 ~^~~
# 状态 耗时 内存占用
#1 Accepted 12ms 456.0 KiB
#2 Accepted 9ms 452.0 KiB
#3 Accepted 2ms 472.0 KiB
#4 Accepted 2ms 456.0 KiB
#5 Accepted 4ms 460.0 KiB
#6 Accepted 3ms 508.0 KiB
#7 Accepted 4ms 504.0 KiB
#8 Accepted 7ms 608.0 KiB
#9 Accepted 7ms 544.0 KiB
#10 Accepted 7ms 564.0 KiB
#11 Accepted 16ms 732.0 KiB
#12 Accepted 19ms 708.0 KiB
#13 Accepted 49ms 556.0 KiB
#14 Accepted 50ms 472.0 KiB
#15 Accepted 284ms 756.0 KiB
#16 Accepted 205ms 636.0 KiB
#17 Accepted 139ms 552.0 KiB
#18 Accepted 150ms 592.0 KiB
#19 Accepted 579ms 3.434 MiB
#20 Accepted 929ms 4.277 MiB
#21 Accepted 285ms 2.488 MiB
#22 Accepted 874ms 4.383 MiB
#23 Accepted 988ms 4.688 MiB
#24 Accepted 391ms 2.984 MiB
#25 Accepted 326ms 2.539 MiB

信息

递交者
类型
递交
语言
C++
递交时间
2022-01-01 13:10:39
评测时间
2022-01-01 13:10:39
评测机
分数
100
总耗时
5351ms
峰值内存
4.688 MiB