Pagini recente » Borderou de evaluare (job #2142857) | Borderou de evaluare (job #1337312) | Borderou de evaluare (job #2292169) | Borderou de evaluare (job #851686) | Borderou de evaluare (job #1787992)
Borderou de evaluare (job #1787992)
Raport evaluator
Compilare:
user.cpp: In function ‘int dfs(int, int)’:
user.cpp:16:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<H[nod].size();i++)
^
user.cpp: In function ‘int dfs2(int, int)’:
user.cpp:38:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<H[nod].size();i++)
^
user.cpp:41:17: warning: unused variable ‘x’ [-Wunused-variable]
if (int x=dfs2(H[nod][i],nr+1))
^
user.cpp: In function ‘int main()’:
user.cpp:53:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld%ld%ld",&n,&m,&X,&Y);
^
user.cpp:53:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:53:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:53:37: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 5 has type ‘int*’ [-Wformat=]
user.cpp:58:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld",&x,&y);
^
user.cpp:58:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:52:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("graf.in","r",stdin);
^
user.cpp:53:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld%ld%ld",&n,&m,&X,&Y);
^
user.cpp:58:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 504kb | Incorect | 0 |
2 | Depăşit | 488kb | Time limit exceeded. | 0 |
3 | 0ms | 512kb | Incorect | 0 |
4 | Depăşit | 484kb | Time limit exceeded. | 0 |
5 | 4ms | 508kb | Incorect | 0 |
6 | Depăşit | 1100kb | Time limit exceeded. | 0 |
7 | Depăşit | 744kb | Time limit exceeded. | 0 |
8 | Depăşit | 924kb | Time limit exceeded. | 0 |
9 | Depăşit | 1048kb | Time limit exceeded. | 0 |
10 | Depăşit | 952kb | Time limit exceeded. | 0 |
Punctaj total | 0 |