Pagini recente » Borderou de evaluare (job #104083) | Borderou de evaluare (job #2369225) | Borderou de evaluare (job #620466) | Borderou de evaluare (job #2391973) | Borderou de evaluare (job #1831067)
Borderou de evaluare (job #1831067)
Raport evaluator
Compilare:
user.cpp: In function ‘void unionn(int, int)’:
user.cpp:24:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(a!=b)
^
user.cpp: In function ‘int main()’:
user.cpp:34:13: warning: unused variable ‘cod’ [-Wunused-variable]
int n,m,cod,x,y,i;
^
user.cpp:34:17: warning: unused variable ‘x’ [-Wunused-variable]
int n,m,cod,x,y,i;
^
user.cpp:34:19: warning: unused variable ‘y’ [-Wunused-variable]
int n,m,cod,x,y,i;
^
user.cpp:32:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("disjoint.in","r",stdin);
^
user.cpp:33:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("disjoint.out","w",stdout);
^
user.cpp:36:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:39:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&v[i].cod,&v[i].x,&v[i].y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 240kb | OK | 10 | 10 |
2 | 0ms | 252kb | Incorect | 0 | 0 |
3 | 0ms | 256kb | Incorect | 0 | 0 |
4 | 0ms | 284kb | Incorect | 0 | 0 |
5 | 4ms | 340kb | Incorect | 0 | 0 |
6 | Depăşit | 2392kb | Time limit exceeded. | 0 |
7 | Depăşit | 2396kb | Time limit exceeded. | 0 |
8 | 68ms | 1688kb | Incorect | 0 | 0 |
9 | 36ms | 984kb | Incorect | 0 | 0 |
10 | 68ms | 1800kb | Incorect | 0 | 0 |
Punctaj total | 10 |