Borderou de evaluare (job #1828842)

Utilizator 1475369147896537415369Andrei Udriste 1475369147896537415369 Data 13 decembrie 2016 22:23:32
Problema Pufu Status done
Runda Arhiva ICPC Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:12:1: warning: format ‘%lld’ expects argument of type ‘long long int *’, but argument 3 has type ‘int *’ [-Wformat=] fscanf(file1, "%lld", &T); ^ user.c:23:9: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘int’ [-Wformat=] fscanf(file1, "%s", pufulete); ^ user.c:25:20: error: subscripted value is neither array nor pointer nor vector if(pufulete[2]=='r'){ ^ user.c:27:26: error: subscripted value is neither array nor pointer nor vector }else if(pufulete[2]=='o'){ ^ user.c:29:26: error: subscripted value is neither array nor pointer nor vector }else if(pufulete[2]=='s'){ ^ user.c:12:7: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file1, "%lld", &T); ^ user.c:20:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file1, "%d", &N); ^ user.c:23:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(file1, "%s", pufulete); ^

Ceva nu functioneaza?