Borderou de evaluare (job #825081)

Utilizator avatar AltAccountScoala86 Hangu Skibidi AltAccountScoala86 IP ascuns
Problemă Paranteze 1 (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 19 mai 2025 21:27:13 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:21: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'char (*)[2]' [-Wformat=] 11 | fscanf(fin, "%d%d", &n, &paranteze); | ~^ ~~~~~~~~~~ | | | | int * char (*)[2] main.c:14:22: warning: comparison with string literal results in unspecified behavior [-Waddress] 14 | if(paranteze == "((" == "{{" == "{)" == "{ }" == "( )") | ^~ main.c:14:30: warning: comparison between pointer and integer 14 | if(paranteze == "((" == "{{" == "{)" == "{ }" == "( )") | ^~ main.c:14:22: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] 14 | if(paranteze == "((" == "{{" == "{)" == "{ }" == "( )") | ~~~~~~~~~~^~~~~~~ main.c:14:30: warning: comparison with string literal results in unspecified behavior [-Waddress] 14 | if(paranteze == "((" == "{{" == "{)" == "{ }" == "( )") | ^~ main.c:14:38: warning: comparison between pointer and integer 14 | if(paranteze == "((" == "{{" == "{)" == "{ }" == "( )") | ^~ main.c:14:30: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] 14 | if(paranteze == "((" == "{{" == "{)" == "{ }" == "( )") | ~~~~~~~~~~~~~~~~~~^~~~~~~ main.c:14:38: warning: comparison with string literal results in unspecified behavior [-Waddress] 14 | if(paranteze == "((" == "{{" == "{)" == "{ }" == "( )") | ^~ main.c:14:46: warning: comparison between pointer and integer 14 | if(paranteze == "((" == "{{" == "{)" == "{ }" == "( )") | ^~ main.c:14:38: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] 14 | if(paranteze == "((" == "{{" == "{)" == "{ }" == "( )") | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ main.c:14:46: warning: comparison with string literal results in unspecified behavior [-Waddress] 14 | if(paranteze == "((" == "{{" == "{)" == "{ }" == "( )") | ^~ main.c:14:56: warning: comparison between pointer and integer 14 | if(paranteze == "((" == "{{" == "{)" == "{ }" == "( )") | ^~ main.c:14:46: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses] 14 | if(paranteze == "((" == "{{" == "{)" == "{ }" == "( )") | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ main.c:14:56: warning: comparison with string literal results in unspecified behavior [-Waddress] 14 | if(paranteze == "((" == "{{" == "{)" == "{ }" == "( )") | ^~ main.c:16:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'char *' [-Wformat=] 16 | fprintf(fout, "%d", paranteze); | ~^ ~~~~~~~~~ | | | | int char *
Test Timp execuție Memorie folosită Mesaj Punctaj/test Punctaj/grupă
1 1 ms 245 kb Incorect 0 0
2 1 ms 507 kb Incorect 0
3 1 ms 266 kb Incorect 0 0
4 1 ms 266 kb Incorect 0
5 1 ms 245 kb Incorect 0 0
6 1 ms 245 kb Incorect 0
7 1 ms 245 kb Incorect 0 0
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0 0
10 1 ms 245 kb Incorect 0
11 1 ms 245 kb Incorect 0 0
12 1 ms 245 kb Incorect 0
13 1 ms 245 kb Incorect 0 0
14 1 ms 245 kb Incorect 0
15 1 ms 245 kb Incorect 0 0
16 1 ms 245 kb Incorect 0
17 1 ms 245 kb Incorect 0 0
18 1 ms 245 kb Incorect 0
19 1 ms 245 kb Incorect 0 0
20 1 ms 245 kb Incorect 0
Punctaj total 0