Pagini recente » Borderou de evaluare (job #1987802) | Borderou de evaluare (job #462520) | Borderou de evaluare (job #410085) | Borderou de evaluare (job #1795023) | Borderou de evaluare (job #1613072)
Borderou de evaluare (job #1613072)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&n);
^
user.cpp:26:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&v[i].nr);
^
user.cpp:47:24: warning: ‘plut’ may be used uninitialized in this function [-Wmaybe-uninitialized]
for (i=1;i<=n;i++) if (v[i].pl==plut) fprintf(g,"%d ",v[i].nr);
^
user.cpp:46:39: warning: ‘sp’ may be used uninitialized in this function [-Wmaybe-uninitialized]
fprintf(g,"%d\n%d\n%d\n",l,mx,s/sp);
^
user.cpp:44:41: warning: ‘p1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
else {if (a[v[i].pl]==mx&&v[i].s==s1&&v[i].p==p1) sp++;
^
user.cpp:44:29: warning: ‘s1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
else {if (a[v[i].pl]==mx&&v[i].s==s1&&v[i].p==p1) sp++;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 300kb | Numar incorect de plutoane! | 0 | 0 |
2 | 0ms | 296kb | Numar incorect de plutoane! | 0 |
3 | 0ms | 276kb | Ok! | 10 |
4 | 0ms | 280kb | Ok! | 10 |
5 | 0ms | 340kb | Ok! | 10 |
6 | 0ms | 296kb | Numar incorect de plutoane! | 0 | 0 |
7 | 0ms | 320kb | Numar incorect de plutoane! | 0 |
8 | 0ms | 328kb | Numar incorect de plutoane! | 0 |
9 | 4ms | 340kb | Numar incorect de plutoane! | 0 |
10 | 0ms | 276kb | Numar incorect de plutoane! | 0 |
Punctaj total | 0 |