Submission #1820915


Source Code Expand

Copy
#include <stdio.h>
int main(void){
    int ans=0;
    for(int i=0;i<8;i++){
        int kari;
        scanf("%d",&kari);
        if(ans<kari)ans=kari;
    }
    printf("%d",kari);
    return 0;
}

Submission Info

Submission Time
Task A - Time Penalty
User xxkiritoxx
Language C (GCC 5.4.1)
Score 0
Code Size 207 Byte
Status CE

Compile Error

./Main.c: In function ‘main’:
./Main.c:9:17: error: ‘kari’ undeclared (first use in this function)
     printf("%d",kari);
                 ^
./Main.c:9:17: note: each undeclared identifier is reported only once for each function it appears in
./Main.c:6:9: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
         scanf("%d",&kari);
         ^