Borderou de evaluare (job #825079)

Utilizator avatar AltAccountScoala86 Hangu Skibidi AltAccountScoala86 IP ascuns
Problemă Cifre2 Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 19 mai 2025 21:03:55 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:21:20: warning: the address of 'strnr' will always evaluate as 'true' [-Waddress] 21 | if(strnr) | ^~~~~ main.c:28:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'char *' [-Wformat=] 28 | fprintf(fout, "%d", nrcifre + strnr - nrcifre); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int char * | %s main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin, "%d%d%d%d", &nr, &nrcifre, &rez, &cifre); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 109 ms 405 kb Time limit exceeded 0
2 109 ms 131 kb Time limit exceeded 0
3 109 ms 172 kb Time limit exceeded 0
4 109 ms 139 kb Time limit exceeded 0
5 109 ms 135 kb Time limit exceeded 0
6 109 ms 151 kb Time limit exceeded 0
7 109 ms 159 kb Time limit exceeded 0
8 109 ms 184 kb Time limit exceeded 0
9 109 ms 167 kb Time limit exceeded 0
10 109 ms 143 kb Time limit exceeded 0
Punctaj total 0