Wrong Answer
Code
#include <stdio.h>
#include <string.h>
int main(){
int M,N,i;
char Mstring[20];
char Nstring[20];
scanf("%d\n",&M);
for ( i =0;i<100;i++){
fgets(Mstring,sizeof(Mstring),stdin);
}
scanf("%d\n",&N);
for ( i =0;i<1000;i++){
fgets(Nstring,sizeof(Nstring),stdin);
}
if(Mstring[i]==Nstring[i]){
printf("Welcome!\n");
}
if(Mstring[i]==Nstring[i]){
printf("Already inside!");
}
else if(Mstring!=Nstring){
printf("Sorry, not on the list.");
}
return 0;
}
Information
- Submit By
- Type
- Submission
- Problem
- P1227 LUCC Party Check-in
- Contest
- LUCC Presents Kick & Code Intra LU Programming Contest
- Language
- C99 (GCC 13.2.0)
- Submit At
- 2025-09-01 07:42:49
- Judged At
- 2025-09-01 07:42:49
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 352.0 KiB