Borderou de evaluare (job #775264)

Utilizator avatar Emre Isleam Emre Emre IP ascuns
Problemă Rest1 (clasa a 7-a) Compilator c-32
Rundă Tema 30 Clasa a 7-a opțional Status evaluat
Dată 18 apr. 2024 14:34:21 Scor 70

Raport evaluator

Compilare: main.c: In function 'main': main.c:15:9: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] 15 | while(isdigit(c = fgetc(fin))) | ^~~~~~~ main.c:4:1: note: include '<ctype.h>' or provide a declaration of 'isdigit' 3 | #include <math.h> +++ |+#include <ctype.h> 4 | #define MAXCIF 100000 main.c:51:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 51 | if ( i > n ) | ^~ main.c:53:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 53 | t = i = 0; | ^ main.c:18:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf(fin,"%d",&b); | ^~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 4 ms 245 kb Incorect 0
2 4 ms 245 kb Incorect 0
3 4 ms 245 kb OK 10
4 4 ms 245 kb Incorect 0
5 4 ms 245 kb OK 10
6 5 ms 245 kb OK 10
7 9 ms 241 kb OK 10
8 23 ms 745 kb OK 10
9 65 ms 933 kb OK 10
10 49 ms 946 kb OK 10
Punctaj total 70