/ 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 11ms 412.0 KiB
#2 Accepted 8ms 448.0 KiB
#3 Accepted 2ms 460.0 KiB
#4 Accepted 2ms 456.0 KiB
#5 Accepted 4ms 456.0 KiB
#6 Accepted 3ms 400.0 KiB
#7 Accepted 4ms 540.0 KiB
#8 Accepted 7ms 600.0 KiB
#9 Accepted 8ms 556.0 KiB
#10 Accepted 7ms 556.0 KiB
#11 Accepted 20ms 712.0 KiB
#12 Accepted 18ms 748.0 KiB
#13 Accepted 51ms 576.0 KiB
#14 Accepted 51ms 480.0 KiB
#15 Accepted 204ms 752.0 KiB
#16 Accepted 187ms 632.0 KiB
#17 Accepted 136ms 556.0 KiB
#18 Accepted 142ms 592.0 KiB
#19 Accepted 504ms 3.43 MiB
#20 Accepted 849ms 4.27 MiB
#21 Accepted 265ms 2.492 MiB
#22 Accepted 814ms 4.387 MiB
#23 Accepted 891ms 4.688 MiB
#24 Accepted 334ms 2.977 MiB
#25 Accepted 306ms 2.535 MiB

信息

递交者
类型
递交
语言
C++
递交时间
2022-01-01 18:20:31
评测时间
2022-01-01 18:20:31
评测机
分数
100
总耗时
4842ms
峰值内存
4.688 MiB