/ SeriousOJ /

Record Detail

Compile Error

foo.cs(2,0): error CS1024: Wrong preprocessor directive
foo.cs(2,0): error CS1525: Unexpected symbol `int'

Code

#include <stdio.h>
int main(){
    int M;
    for(int i=0;i<M;i++);
    char str[20];
    scanf ("%d",M);
    int len=strlen(str);
    for(int i;str[i]!='\0';i++)
    if (str [i]=='M'||str[i]=='e')
    i++;

Information

Submit By
Type
Submission
Problem
P1227 LUCC Party Check-in
Contest
LUCC Presents Kick & Code Intra LU Programming Contest
Language
C# 7 (Mono 6.8)
Submit At
2025-09-01 06:18:40
Judged At
2025-09-01 06:18:40
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes