/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int read()':
/in/foo.cc:8:13: warning: suggest parentheses around comparison in operand of '|' [-Wparentheses]
     while(ch<'0'|ch>'9'){if(ch=='-')f=-1;ch=getc();}
           ~~^~~~
/in/foo.cc: In function 'void insert(int, int, char*)':
/in/foo.cc:38:20: warning: 'nb' may be used uninitialized in this function [-Wmaybe-uninitialized]
     b[x].siz+=b[y].siz,b[x].nex=b[y].nex;
               ~~~~~^~~
/in/foo.cc:57:15: note: 'nb' was declared here
     int tot=0,nb,st=now;
               ^~
# 状态 耗时 内存占用
#1 Accepted 35ms 4.828 MiB
#2 Accepted 1ms 440.0 KiB
#3 Accepted 6ms 3.547 MiB
#4 Accepted 7ms 4.129 MiB
#5 Accepted 7ms 4.141 MiB
#6 Accepted 6ms 3.445 MiB
#7 Accepted 18ms 3.461 MiB
#8 Accepted 18ms 3.367 MiB
#9 Accepted 12ms 3.594 MiB
#10 Accepted 30ms 3.625 MiB

信息

递交者
类型
递交
题目
P1856 文本编辑器
语言
C++
递交时间
2024-07-01 20:47:04
评测时间
2024-07-01 20:47:04
评测机
分数
100
总耗时
146ms
峰值内存
4.828 MiB