Borderou de evaluare (job #754658)

Utilizator avatar Andreea3425 Diaconu Andreea Andreea3425 IP ascuns
Problemă Read/Write (clasa a 7-a) Compilator c-32
Rundă Tema 15 clasa a 7-a Status evaluat
Dată 12 ian. 2024 21:28:38 Scor 10

Raport evaluator

Compilare: main.c: In function 'readInt': main.c:9:12: warning: implicit declaration of function 'isspace' [-Wimplicit-function-declaration] 9 | while (isspace(c=fgetc(fin))); | ^~~~~~~ main.c:3:1: note: include '<ctype.h>' or provide a declaration of 'isspace' 2 | #include <stdlib.h> +++ |+#include <ctype.h> 3 | main.c:16:12: warning: implicit declaration of function 'isdigit' [-Wimplicit-function-declaration] 16 | while (isdigit(c=fgetc(fin))); | ^~~~~~~ main.c:16:12: note: include '<ctype.h>' or provide a declaration of 'isdigit' main.c: In function 'main': main.c:41:19: warning: unused variable 'x' [-Wunused-variable] 41 | long long int x; | ^ main.c:43:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 43 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 419 ms 196 kb OK 10
2 508 ms 200 kb Time limit exceeded 0
3 508 ms 176 kb Time limit exceeded 0
4 509 ms 401 kb Time limit exceeded 0
5 509 ms 237 kb Time limit exceeded 0
6 508 ms 180 kb Time limit exceeded 0
7 500 ms 282 kb Time limit exceeded 0
8 509 ms 376 kb Time limit exceeded 0
9 504 ms 290 kb Time limit exceeded 0
10 500 ms 405 kb Time limit exceeded 0
Punctaj total 10