Pagini recente » Borderou de evaluare (job #2767969) | Borderou de evaluare (job #278620) | Borderou de evaluare (job #1532055) | Borderou de evaluare (job #3224155) | Borderou de evaluare (job #1252661)
Borderou de evaluare (job #1252661)
Raport evaluator
Compilare:
user.cpp: In function ‘void introd_in_arb(long int)’:
user.cpp:61:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<l[k].size();i++)
^
user.cpp:60:12: warning: unused variable ‘j’ [-Wunused-variable]
long i,j;
^
user.cpp: In function ‘int main()’:
user.cpp:76: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:76:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:79: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:79:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:79:48: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=]
user.cpp:111:26: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%ld\n",sum);
^
user.cpp:113:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<r.size();i++)
^
user.cpp:73:12: warning: unused variable ‘j’ [-Wunused-variable]
long i,j,m,x,y,n;
^
user.cpp:76: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:79: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);
^
user.cpp: In function ‘void coboara(long int)’:
user.cpp:31:22: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
long ok,mini=inf,poz;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 2624kb | Corect | 10 |
2 | 4ms | 2624kb | Corect | 10 |
3 | 4ms | 2640kb | Corect | 10 |
4 | 4ms | 2636kb | Corect | 10 |
5 | 4ms | 2648kb | Corect | 10 |
6 | 152ms | 6160kb | Corect | 10 |
7 | 368ms | 9084kb | Corect | 10 |
8 | 52ms | 4076kb | Corect | 10 |
9 | 48ms | 4148kb | Corect | 10 |
10 | 280ms | 8108kb | Corect | 10 |
Punctaj total | 100 |