Borderou de evaluare (job #782024)

Utilizator avatar Sebi_Ionescu Ionescu Sebastian Andrei Sebi_Ionescu IP ascuns
Problemă Culegere (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 10 iul. 2024 18:41:57 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:13:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation] 13 | for(j=1;j<n;j++,ei++); | ^~~ main.c:14:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for' 14 | { | ^ main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin,"%d%d",&n,&npc); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:27:5: /usr/include/bits/stdio2.h:79:10: warning: 'tmn' 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:11:28: note: 'tmn' was declared here 11 | int i,j,ei,cn,nt=0,cif,tmn; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 507 kb 1. incorect; 2. incorect 0
2 1 ms 245 kb 1. incorect; 2. incorect 0
3 2 ms 245 kb 1. incorect; 2. incorect 0
4 2 ms 245 kb 1. incorect; 2. incorect 0
5 1 ms 245 kb 1. incorect; 2. incorect 0
6 1 ms 245 kb 1. incorect; 2. incorect 0
7 2 ms 245 kb 1. incorect; 2. incorect 0
8 1 ms 245 kb 1. incorect; 2. incorect 0
9 1 ms 245 kb 1. incorect; 2. incorect 0
10 1 ms 245 kb 1. incorect; 2. incorect 0
Punctaj total 0