/ SeriousOJ /

Record Detail

Runtime Error


  
# Status Time Cost Memory Cost
#1 Runtime Error 2ms 576.0 KiB

Code

#include <stdio.h>
int main(){
    int t;
    scanf("%d",&t);
    while(t--){
    int M;
    scanf("%d",&M);
    int N;
    char name[N];
    scanf("%s",name);

        char p[20];

        if(strcmp((name,p)==0)){
            printf("Welcome!");

        }
        else{
            printf("Sorry, not on the list.");
        }

    }
    return 0;


}

Information

Submit By
Type
Pretest
Problem
P1227 LUCC Party Check-in
Language
C11 (GCC 13.2.0)
Submit At
2025-09-01 06:20:18
Judged At
2025-09-01 06:20:18
Judged By
Score
0
Total Time
2ms
Peak Memory
576.0 KiB