Borderou de evaluare (job #744579)

Utilizator avatar ITmaster Radulescu Denis Ciprian ITmaster IP ascuns
Problemă Vrăji (clasa a 5-a) Compilator c-32
Rundă Tema 14 clasa a 5-a Status evaluat
Dată 12 nov. 2023 19:50:20 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ main.c:12:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%d %d", &a, &b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:29:5: /usr/include/bits/stdio2.h:79:10: warning: 'cmmdc' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:7:12: note: 'cmmdc' was declared here 7 | int n, cmmdc, max, a, b, i, nro, r; | ^~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 241 kb OK 10
2 1 ms 241 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 2 ms 245 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 100