Pagini recente » Borderou de evaluare (job #2658763) | Borderou de evaluare (job #2341592) | Borderou de evaluare (job #964157) | Borderou de evaluare (job #821226) | Borderou de evaluare (job #1564236)
Borderou de evaluare (job #1564236)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:43:8: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (x != 0)
^
user.c:71:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("\n%d - %d",i,j);
^
user.c:71:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
user.c:79:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("\n%d",sol);
^
user.c:82:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(f,"%d",sol);
^
user.c:66:5: warning: unused variable ‘ok’ [-Wunused-variable]
int ok =1;
^
user.c:18:14: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,32767,f);
^
user.c:77:19: warning: ‘B’ may be used uninitialized in this function [-Wmaybe-uninitialized]
sol += v[B-power[i]] - v[A - power[i]]-k;
^
user.c:69:7: warning: ‘A’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(power[i]<=A){
^
user.c:27:32: warning: ‘N’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if (i == 1 && cont<=N) {
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | Incorect | 0 |
2 | 0ms | 292kb | Incorect | 0 |
3 | 0ms | 296kb | Incorect | 0 |
4 | 0ms | 300kb | Incorect | 0 |
5 | 0ms | 304kb | Incorect | 0 |
6 | 0ms | 300kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 304kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 300kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 300kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 296kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |