Borderou de evaluare (job #753362)

Utilizator avatar Stefania12345 Mihailescu Stefania Stefania12345 IP ascuns
Problemă Unific (clasa a 7-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 30 dec. 2023 22:11:00 Scor 0

Raport evaluator

Compilare: main.c: In function 'nrnou': main.c:23:13: warning: value computed is not used [-Wunused-value] 23 | *nrcf++; | ^~~~~~~ main.c: In function 'unific': main.c:57:17: warning: the comparison will always evaluate as 'false' for the address of 'nrcf' will never be NULL [-Waddress] 57 | if(&nrcf==0) | ^~ main.c:12:5: note: 'nrcf' declared here 12 | int nrcf; | ^~~~ main.c:60:10: warning: assignment to 'long long int' from 'int *' makes integer from pointer without a cast [-Wint-conversion] 60 | p=&nrcf; | ^ main.c:63:10: warning: assignment to 'long long int' from 'long long int *' makes integer from pointer without a cast [-Wint-conversion] 63 | p=&pnrcf; | ^ main.c:33:32: warning: unused variable 'nr' [-Wunused-variable] 33 | long long ca,cb,pa,pb,cate,nr,i,p; | ^~ main.c: In function 'main': main.c:115:26: warning: format '%lld' expects argument of type 'long long int', but argument 3 has type 'int' [-Wformat=] 115 | fprintf(fout,"%lld ",s[i]); | ~~~^ ~~~~ | | | | | int | long long int | %d main.c:76:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 76 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:79:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 79 | fscanf(fin,"%lld",&v[i]); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:906, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:113:5: /usr/include/bits/stdio2.h:79:10: warning: 'rasp' 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:72:21: note: 'rasp' was declared here 72 | int i,n,maxicif,rasp,maxi; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 249 kb Killed by Signal 11 0
2 2 ms 249 kb Killed by Signal 11 0
3 4 ms 249 kb Killed by Signal 11 0
4 2 ms 249 kb Killed by Signal 11 0
5 1 ms 249 kb Killed by Signal 11 0
6 2 ms 249 kb Killed by Signal 11 0
7 1 ms 249 kb Killed by Signal 11 0
8 1 ms 249 kb Killed by Signal 11 0
9 1 ms 249 kb Killed by Signal 11 0
10 1 ms 249 kb Killed by Signal 11 0
Punctaj total 0