Pagini recente » Borderou de evaluare (job #3143926) | Borderou de evaluare (job #2253724) | Borderou de evaluare (job #239954) | Borderou de evaluare (job #1038105) | Borderou de evaluare (job #1252643)
Borderou de evaluare (job #1252643)
Raport evaluator
Compilare:
user.cpp: In function ‘void introd_in_arb(long int)’:
user.cpp:60:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<l[k].size();i++)
^
user.cpp:59:12: warning: unused variable ‘j’ [-Wunused-variable]
long i,j;
^
user.cpp: In function ‘int main()’:
user.cpp:74:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d %d",&n,&m);
^
user.cpp:74:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:77:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(f,"%d %d %d",&x,&aux.dest,&aux.c);
^
user.cpp:77:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:77:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=]
user.cpp:110:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d\n%d\n",sum,n-1);
^
user.cpp:110:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
user.cpp:111:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<r.size();i++)
^
user.cpp:112:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
fprintf(g,"%d %d\n",r[i].c,r[i].dest);
^
user.cpp:112:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long int’ [-Wformat=]
user.cpp:72:12: warning: unused variable ‘j’ [-Wunused-variable]
long i,j,m,x,y,sum=0,n;
^
user.cpp:74:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&n,&m);
^
user.cpp:77:49: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d %d",&x,&aux.dest,&aux.c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2620kb | Corect | 10 |
2 | 4ms | 2620kb | Corect | 10 |
3 | 4ms | 2632kb | Cost incorect | 0 |
4 | 4ms | 2632kb | Cost incorect | 0 |
5 | 4ms | 2640kb | Cost incorect | 0 |
6 | 140ms | 6160kb | Cost incorect | 0 |
7 | 312ms | 9088kb | Cost incorect | 0 |
8 | 52ms | 4064kb | Cost incorect | 0 |
9 | 48ms | 4140kb | Cost incorect | 0 |
10 | 252ms | 8100kb | Cost incorect | 0 |
Punctaj total | 20 |