Record Detail

Accepted

/in/database.c: In function 'main':
/in/database.c:74:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     for (kk = 0; kk < strlen(a); kk++) {
                                     ^
/in/database.c:78:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (kk == strlen(a))break;
                        ^~
/in/database.c:103:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     for (kk = 0; kk < strlen(name1); kk++) {
                                     ^
/in/database.c:107:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (kk == strlen(name1))break;
                        ^~
/in/database.c:130:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (aa = 0; aa < strlen(str); aa++) {
                             ^
/in/database.c:146:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk = 0; kk < strlen(name1); kk++) {
                                         ^
/in/database.c:150:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk == strlen(name1))break;
                            ^~
/in/database.c:168:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (aa = 0; aa < strlen(str); aa++) {
                             ^
/in/database.c:187:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk = 0; kk < strlen(name1); kk++) {
                                         ^
/in/database.c:191:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk == strlen(name1))break;
                            ^~
/in/database.c:211:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                             for (kk1 = 0; kk1 < strlen(arr3); kk1++) {
                                               ^
/in/database.c:215:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         if (kk1 == strlen(arr3)) {
                                 ^~
/in/database.c:233:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                             for (kk2 = 0; kk2 < strlen(arr4); kk2++) {
                                               ^
/in/database.c:237:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         if (kk2 == strlen(arr4)) {
                                 ^~
/in/database.c:255:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                             for (kk1 = 0; kk1 < strlen(arr3); kk1++) {
                                               ^
/in/database.c:261:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                             for (kk2 = 0; kk2 < strlen(arr4); kk2++) {
                                               ^
/in/database.c:265:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         if (kk1 == strlen(arr3) && kk2 == strlen(arr4)){nn++;
                                 ^~
/in/database.c:265:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         if (kk1 == strlen(arr3) && kk2 == strlen(arr4)){nn++;
                                                        ^~
/in/database.c:295:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     for (kk = 0; kk < strlen(name1); kk++) {
                                     ^
/in/database.c:299:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (kk == strlen(name1))break;
                        ^~
/in/database.c:314:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk2 = 0; kk2 < strlen(arr2); kk2++) {
                                           ^
/in/database.c:318:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk2 == strlen(arr2)) {
                             ^~
/in/database.c:333:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk1 = 0; kk1 < strlen(arr1); kk1++) {
                                           ^
/in/database.c:337:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk1 == strlen(arr1)) {
                             ^~
/in/database.c:352:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk1 = 0; kk1 < strlen(arr1); kk1++) {
                                           ^
/in/database.c:358:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk2 = 0; kk2 < strlen(arr2); kk2++) {
                                           ^
/in/database.c:362:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk1 == strlen(arr1) && kk2 == strlen(arr2)){nn = 1;
                             ^~
/in/database.c:362:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk1 == strlen(arr1) && kk2 == strlen(arr2)){nn = 1;
                                                    ^~
/in/database.c:382:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     for (kk = 0; kk < strlen(name1); kk++) {
                                     ^
/in/database.c:386:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (kk == strlen(name1))break;
                        ^~
/in/database.c:420:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk2 = 0; kk2 < strlen(arr2); kk2++) {
                                           ^
/in/database.c:424:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk2 == strlen(arr2)){
                             ^~
/in/database.c:450:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk1 = 0; kk1 < strlen(arr1); kk1++) {
                                           ^
/in/database.c:454:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk1 == strlen(arr1)){
                             ^~
/in/database.c:479:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk1 = 0; kk1 < strlen(arr1); kk1++) {
                                           ^
/in/database.c:485:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk2 = 0; kk2 < strlen(arr2); kk2++) {
                                           ^
/in/database.c:489:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk1 == strlen(arr1) && kk2 == strlen(arr2)){
                             ^~
/in/database.c:489:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk1 == strlen(arr1) && kk2 == strlen(arr2)){
                                                    ^~
/in/database.c:19:16: warning: unused variable 'j' [-Wunused-variable]
     int i = 0, j, k, ii, jj, kk, m, aa, nn, k1, kk1, kk2,t,x=0;
                ^
/in/database.c:19:30: warning: 'kk' may be used uninitialized in this function [-Wmaybe-uninitialized]
     int i = 0, j, k, ii, jj, kk, m, aa, nn, k1, kk1, kk2,t,x=0;
                              ^~
# Status Time Cost Memory Cost
#1 Accepted Detail 1ms 276.0 KiB
#2 Accepted Detail 1ms 276.0 KiB
#3 Accepted Detail 1ms 260.0 KiB
#4 Accepted Detail 1ms 256.0 KiB
#5 Accepted Detail 1ms 384.0 KiB

Information

Submit By
Type
Submission
Homework
Lab 5 (TEST ONLY) (+AUTO)
Language
C
Submit At
2021-11-14 16:42:33
Judged At
2021-11-21 15:06:25
Judged By
Score
100
Total Time
7ms
Peak Memory
384.0 KiB