Record Detail

Accepted

/in/hw4.c: In function 'dec':
/in/hw4.c:7:12: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
     return y;
            ^
/in/hw4.c: In function 'hex':
/in/hw4.c:13:12: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
     return y;
            ^
/in/hw4.c: In function 'main':
/in/hw4.c:43:25: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
         e[i]=hex(p);f[i]=hex(q);
                     ~~~~^~~~~~~
/in/hw4.c:43:13: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
         e[i]=hex(p);f[i]=hex(q);
         ~~~~^~~~~~~
/in/hw4.c:32:10: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
         q=dec(a[i])-dec(b[i])-dec(d[i]);
         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/hw4.c:32:20: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
         q=dec(a[i])-dec(b[i])-dec(d[i]);
           ~~~~~~~~~^~~~~~~~~~
/in/hw4.c:32:20: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
/in/hw4.c:31:10: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
         p=dec(a[i])+dec(b[i])+dec(c[i]);
         ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/hw4.c:31:20: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
         p=dec(a[i])+dec(b[i])+dec(c[i]);
           ~~~~~~~~~^~~~~~~~~~
/in/hw4.c:31:20: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
# Status Time Cost Memory Cost
#1 Accepted Detail 1ms 252.0 KiB
#2 Accepted Detail 1ms 332.0 KiB
#3 Accepted Detail 1ms 256.0 KiB
#4 Accepted Detail 1ms 260.0 KiB
#5 Accepted Detail 1ms 256.0 KiB
#6 Accepted Detail 1ms 260.0 KiB
#7 Accepted Detail 1ms 256.0 KiB
#8 Accepted Detail 1ms 316.0 KiB
#9 Accepted Detail 1ms 256.0 KiB
#10 Accepted Detail 1ms 316.0 KiB
#11 Accepted Detail 1ms 256.0 KiB
#12 Accepted Detail 1ms 264.0 KiB
#13 Accepted Detail 1ms 256.0 KiB
#14 Accepted Detail 1ms 256.0 KiB
#15 Accepted Detail 1ms 260.0 KiB
#16 Accepted Detail 1ms 256.0 KiB
#17 Accepted Detail 1ms 336.0 KiB
#18 Accepted Detail 1ms 256.0 KiB
#19 Accepted Detail 1ms 336.0 KiB
#20 Accepted Detail 1ms 200.0 KiB

Information

Submit By
Type
Submission
Homework
HW4 - HEX Calculator
Language
C
Submit At
2022-11-02 21:39:34
Judged At
2022-11-03 07:42:18
Judged By
Score
100
Total Time
23ms
Peak Memory
336.0 KiB