Pagini recente » Borderou de evaluare (job #267202) | Borderou de evaluare (job #1940855) | Borderou de evaluare (job #1318041) | Borderou de evaluare (job #2635875) | Borderou de evaluare (job #1600329)
Borderou de evaluare (job #1600329)
Raport evaluator
Compilare:
user.cpp: In function ‘int unionset(int, int)’:
user.cpp:29:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:36:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d",&n,&m);
^
user.cpp:36:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:42:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d%d",&cod,&x,&y);
^
user.cpp:42:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:42:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:33: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:34: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:42:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&cod,&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 252kb | OK | 10 | 10 |
2 | 0ms | 256kb | OK | 10 | 10 |
3 | 0ms | 260kb | OK | 10 | 10 |
4 | 0ms | 260kb | OK | 10 | 10 |
5 | 4ms | 264kb | OK | 10 | 30 |
6 | 68ms | 460kb | OK | 10 |
7 | 68ms | 452kb | OK | 10 |
8 | 72ms | 808kb | OK | 10 | 10 |
9 | 36ms | 572kb | OK | 10 | 10 |
10 | 72ms | 1036kb | OK | 10 | 10 |
Punctaj total | 100 |