/ Graveyard /

记录详情

Accepted

/usr/bin/ld.bfd: warning: /out/link.res contains output sections; did you forget -T?
# 状态 耗时 内存占用
#1 Accepted 0ms 256.0 KiB
#2 Accepted 1ms 256.0 KiB
#3 Accepted 1ms 256.0 KiB
#4 Accepted 1ms 256.0 KiB
#5 Accepted 1ms 256.0 KiB
#6 Accepted 0ms 256.0 KiB
#7 Accepted 2ms 256.0 KiB
#8 Accepted 1ms 256.0 KiB
#9 Accepted 4ms 256.0 KiB
#10 Accepted 5ms 256.0 KiB
#11 Accepted 15ms 256.0 KiB
#12 Accepted 25ms 256.0 KiB
#13 Accepted 1ms 256.0 KiB
#14 Accepted 0ms 256.0 KiB
#15 Accepted 1ms 256.0 KiB
#16 Accepted 1ms 256.0 KiB
#17 Accepted 1ms 256.0 KiB
#18 Accepted 1ms 256.0 KiB
#19 Accepted 3ms 256.0 KiB
#20 Accepted 11ms 256.0 KiB
#21 Accepted 35ms 256.0 KiB
#22 Accepted 53ms 256.0 KiB
#23 Accepted 105ms 256.0 KiB
#24 Accepted 71ms 256.0 KiB
#25 Accepted 88ms 256.0 KiB

代码

var n,i,x:longint;
    s:string;
begin
        readln(n);
        for i:=1 to n do
        begin
          readln(s);
          if (s[length(s)]<>'1')and(s[length(s)]<>'0')
             then writeln('NOT SECURE')
             else if s[length(s)]='1'
                     then writeln('SECURE')
                     else if s[length(s)]='0'
                             then writeln('DANGEROUS')
        end;
end.

信息

递交者
类型
递交
题目
Add Security Details 添加安全信息
语言
Pascal
递交时间
2017-07-10 14:29:26
评测时间
2017-07-10 14:29:26
评测机
分数
100
总耗时
437ms
峰值内存
256.0 KiB