Borderou de evaluare (job #2022397)

Utilizator ruxandra_lutanRuxandra Lutan ruxandra_lutan Data 16 septembrie 2017 14:51:34
Problema Cifra Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:34:9: warning: implicit declaration of function ‘strlen’ [-Wimplicit-function-declaration] last_2_digits = n[strlen(n) - 1] - '0'; ^ user.c:34:27: warning: incompatible implicit declaration of built-in function ‘strlen’ [enabled by default] last_2_digits = n[strlen(n) - 1] - '0'; ^ user.c:30:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &t); ^ user.c:31:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%c" , &n[0]); ^ user.c:33:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%s", n); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbOK!10
20ms264kbOK!10
30ms268kbOK!10
40ms268kbOK!10
50ms268kbOK!10
60ms264kbOK!10
70ms268kbOK!10
84ms264kbOK!10
912ms268kbOK!10
1020ms264kbOK!10
Punctaj total100

Ceva nu functioneaza?