Record Detail

Accepted

/in/database.c: In function 'main':
/in/database.c:77:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     for (kk = 0; kk < strlen(a); kk++) {
                                     ^
/in/database.c:81:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (kk == strlen(a))break;
                        ^~
/in/database.c:106:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     for (kk = 0; kk < strlen(name1); kk++) {
                                     ^
/in/database.c:110:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (kk == strlen(name1))break;
                        ^~
/in/database.c:133:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (aa = 0; aa < strlen(str); aa++) {
                             ^
/in/database.c:149:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk = 0; kk < strlen(name1); kk++) {
                                         ^
/in/database.c:153:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk == strlen(name1))break;
                            ^~
/in/database.c:171:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (aa = 0; aa < strlen(str); aa++) {
                             ^
/in/database.c:190:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk = 0; kk < strlen(name1); kk++) {
                                         ^
/in/database.c:194:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk == strlen(name1))break;
                            ^~
/in/database.c:214:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                             for (kk1 = 0; kk1 < strlen(arr3); kk1++) {
                                               ^
/in/database.c:218:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         if (kk1 == strlen(arr3)) {
                                 ^~
/in/database.c:236:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                             for (kk2 = 0; kk2 < strlen(arr4); kk2++) {
                                               ^
/in/database.c:240:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         if (kk2 == strlen(arr4)) {
                                 ^~
/in/database.c:258:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                             for (kk1 = 0; kk1 < strlen(arr3); kk1++) {
                                               ^
/in/database.c:264:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                             for (kk2 = 0; kk2 < strlen(arr4); kk2++) {
                                               ^
/in/database.c:268:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         if (kk1 == strlen(arr3) && kk2 == strlen(arr4)){nn++;
                                 ^~
/in/database.c:268:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         if (kk1 == strlen(arr3) && kk2 == strlen(arr4)){nn++;
                                                        ^~
/in/database.c:298:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     for (kk = 0; kk < strlen(name1); kk++) {
                                     ^
/in/database.c:302:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (kk == strlen(name1))break;
                        ^~
/in/database.c:317:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk2 = 0; kk2 < strlen(arr2); kk2++) {
                                           ^
/in/database.c:321:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk2 == strlen(arr2)) {
                             ^~
/in/database.c:336:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk1 = 0; kk1 < strlen(arr1); kk1++) {
                                           ^
/in/database.c:340:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk1 == strlen(arr1)) {
                             ^~
/in/database.c:355:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk1 = 0; kk1 < strlen(arr1); kk1++) {
                                           ^
/in/database.c:361:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk2 = 0; kk2 < strlen(arr2); kk2++) {
                                           ^
/in/database.c:365:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk1 == strlen(arr1) && kk2 == strlen(arr2)){nn = 1;
                             ^~
/in/database.c:365:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk1 == strlen(arr1) && kk2 == strlen(arr2)){nn = 1;
                                                    ^~
/in/database.c:385:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     for (kk = 0; kk < strlen(name1); kk++) {
                                     ^
/in/database.c:389:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (kk == strlen(name1))break;
                        ^~
/in/database.c:423:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk2 = 0; kk2 < strlen(arr2); kk2++) {
                                           ^
/in/database.c:427:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk2 == strlen(arr2)){
                             ^~
/in/database.c:453:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk1 = 0; kk1 < strlen(arr1); kk1++) {
                                           ^
/in/database.c:457:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk1 == strlen(arr1)){
                             ^~
/in/database.c:482:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk1 = 0; kk1 < strlen(arr1); kk1++) {
                                           ^
/in/database.c:488:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk2 = 0; kk2 < strlen(arr2); kk2++) {
                                           ^
/in/database.c:492:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk1 == strlen(arr1) && kk2 == strlen(arr2)){
                             ^~
/in/database.c:492:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk1 == strlen(arr1) && kk2 == strlen(arr2)){
                                                    ^~
/in/database.c:22:54: warning: unused variable 'x' [-Wunused-variable]
     int  j, k, ii, jj, kk, m, aa, nn, k1, kk1, kk2,t,x=0;
                                                      ^
/in/database.c:22:10: warning: unused variable 'j' [-Wunused-variable]
     int  j, k, ii, jj, kk, m, aa, nn, k1, kk1, kk2,t,x=0;
          ^
/in/database.c:21:19: warning: unused variable 'str1' [-Wunused-variable]
     char str[100],str1[100], arr[50], arr1[50], arr2[50], arr3[50], arr4[50], *a, *b,*c,*d, name1[15], name2[15], name3[15];
                   ^~~~
/in/database.c:20:22: warning: unused variable 'fpa' [-Wunused-variable]
     FILE *fp1, *fp2,*fpa;
                      ^~~
/in/database.c: In function 'AUTO':
/in/database.c:592:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     for (kk = 0; kk < strlen(a); kk++) {
                                     ^
/in/database.c:596:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (kk == strlen(a))break;
                        ^~
/in/database.c:621:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     for (kk = 0; kk < strlen(name1); kk++) {
                                     ^
/in/database.c:625:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (kk == strlen(name1))break;
                        ^~
/in/database.c:648:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (aa = 0; aa < strlen(str); aa++) {
                             ^
/in/database.c:664:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk = 0; kk < strlen(name1); kk++) {
                                         ^
/in/database.c:668:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk == strlen(name1))break;
                            ^~
/in/database.c:686:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
             for (aa = 0; aa < strlen(str); aa++) {
                             ^
/in/database.c:705:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk = 0; kk < strlen(name1); kk++) {
                                         ^
/in/database.c:709:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk == strlen(name1))break;
                            ^~
/in/database.c:729:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                             for (kk1 = 0; kk1 < strlen(arr3); kk1++) {
                                               ^
/in/database.c:733:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         if (kk1 == strlen(arr3)) {
                                 ^~
/in/database.c:751:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                             for (kk2 = 0; kk2 < strlen(arr4); kk2++) {
                                               ^
/in/database.c:755:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         if (kk2 == strlen(arr4)) {
                                 ^~
/in/database.c:773:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                             for (kk1 = 0; kk1 < strlen(arr3); kk1++) {
                                               ^
/in/database.c:779:47: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                             for (kk2 = 0; kk2 < strlen(arr4); kk2++) {
                                               ^
/in/database.c:783:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         if (kk1 == strlen(arr3) && kk2 == strlen(arr4)){nn++;
                                 ^~
/in/database.c:783:56: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         if (kk1 == strlen(arr3) && kk2 == strlen(arr4)){nn++;
                                                        ^~
/in/database.c:813:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     for (kk = 0; kk < strlen(name1); kk++) {
                                     ^
/in/database.c:817:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (kk == strlen(name1))break;
                        ^~
/in/database.c:832:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk2 = 0; kk2 < strlen(arr2); kk2++) {
                                           ^
/in/database.c:836:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk2 == strlen(arr2)) {
                             ^~
/in/database.c:851:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk1 = 0; kk1 < strlen(arr1); kk1++) {
                                           ^
/in/database.c:855:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk1 == strlen(arr1)) {
                             ^~
/in/database.c:870:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk1 = 0; kk1 < strlen(arr1); kk1++) {
                                           ^
/in/database.c:876:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk2 = 0; kk2 < strlen(arr2); kk2++) {
                                           ^
/in/database.c:880:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk1 == strlen(arr1) && kk2 == strlen(arr2)){nn = 1;
                             ^~
/in/database.c:880:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk1 == strlen(arr1) && kk2 == strlen(arr2)){nn = 1;
                                                    ^~
/in/database.c:900:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     for (kk = 0; kk < strlen(name1); kk++) {
                                     ^
/in/database.c:904:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                 if (kk == strlen(name1))break;
                        ^~
/in/database.c:938:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk2 = 0; kk2 < strlen(arr2); kk2++) {
                                           ^
/in/database.c:942:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk2 == strlen(arr2)){
                             ^~
/in/database.c:968:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk1 = 0; kk1 < strlen(arr1); kk1++) {
                                           ^
/in/database.c:972:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk1 == strlen(arr1)){
                             ^~
/in/database.c:997:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk1 = 0; kk1 < strlen(arr1); kk1++) {
                                           ^
/in/database.c:1003:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                         for (kk2 = 0; kk2 < strlen(arr2); kk2++) {
                                           ^
/in/database.c:1007:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk1 == strlen(arr1) && kk2 == strlen(arr2)){
                             ^~
/in/database.c:1007:52: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
                     if (kk1 == strlen(arr1) && kk2 == strlen(arr2)){
                                                    ^~
/in/database.c:548:54: warning: unused variable 'x' [-Wunused-variable]
     int  j, k, ii, jj, kk, m, aa, nn, k1, kk1, kk2,t,x=0;
                                                      ^
/in/database.c:548:10: warning: unused variable 'j' [-Wunused-variable]
     int  j, k, ii, jj, kk, m, aa, nn, k1, kk1, kk2,t,x=0;
          ^
/in/database.c:548:24: warning: 'kk' may be used uninitialized in this function [-Wmaybe-uninitialized]
     int  j, k, ii, jj, kk, m, aa, nn, k1, kk1, kk2,t,x=0;
                        ^~
/in/database.c: In function 'main':
/in/database.c:22:24: warning: 'kk' may be used uninitialized in this function [-Wmaybe-uninitialized]
     int  j, k, ii, jj, kk, m, aa, nn, k1, kk1, kk2,t,x=0;
                        ^~
# Status Time Cost Memory Cost
#1 Accepted Detail 1ms 332.0 KiB
#2 Accepted Detail 1ms 276.0 KiB
#3 Accepted Detail 1ms 384.0 KiB
#4 Accepted Detail 1ms 384.0 KiB
#5 Accepted Detail 1ms 328.0 KiB

Information

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