Borderou de evaluare (job #2048954)
Raport evaluator
Compilare:
user.cpp:6:54: warning: ‘typedef’ was ignored in this declaration [enabled by default]
typedef struct Muchie {unsigned long long e1,e2,cost;};
^
user.cpp: In function ‘void init()’:
user.cpp:13:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1;i<=m;i++)
^
user.cpp:16:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1;i<=n;i++)
^
user.cpp: In function ‘void sortare(int, int)’:
user.cpp:27:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
{ while(i<dr && G[i].cost<x.cost) i++;
^
user.cpp:28:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(j>st && G[j].cost>x.cost) j--;
^
user.cpp:38:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(st<=j) sortare(st,j);
^
user.cpp:39:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(i<=dr) sortare(i,dr);
^
user.cpp: In function ‘int main()’:
user.cpp:66:44: warning: unused variable ‘cost’ [-Wunused-variable]
unsigned long long i,j,min_c,max_c,M=0,cost,t;
^
user.cpp:66:49: warning: unused variable ‘t’ [-Wunused-variable]
unsigned long long i,j,min_c,max_c,M=0,cost,t;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 420kb | Cost incorect | 0 |
2 | 0ms | 424kb | Cost incorect | 0 |
3 | 0ms | 440kb | Cost incorect | 0 |
4 | 0ms | 436kb | Cost incorect | 0 |
5 | 0ms | 436kb | Cost incorect | 0 |
6 | Depăşit | 3176kb | Time limit exceeded. | 0 |
7 | Depăşit | 4904kb | Time limit exceeded. | 0 |
8 | Depăşit | 1488kb | Time limit exceeded. | 0 |
9 | 216ms | 1732kb | Cost incorect | 0 |
10 | Depăşit | 4532kb | Time limit exceeded. | 0 |
Punctaj total | 0 |