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 21ms 6.477 MiB
#2 Accepted Detail 18ms 6.59 MiB
#3 Accepted Detail 29ms 6.535 MiB
#4 Accepted Detail 26ms 6.469 MiB
#5 Accepted Detail 26ms 6.492 MiB
#6 Accepted Detail 24ms 6.469 MiB
#7 Accepted Detail 24ms 6.555 MiB
#8 Accepted Detail 18ms 6.586 MiB
#9 Accepted Detail 22ms 6.516 MiB
#10 Accepted Detail 20ms 6.527 MiB

Information

Submit By
Type
Submission
Homework
Lab 5 (TEST ONLY) (+AUTO)
Language
C
Submit At
2021-11-14 16:42:49
Judged At
2021-11-21 15:06:24
Judged By
Score
100
Total Time
234ms
Peak Memory
6.59 MiB