Pagini recente » Borderou de evaluare (job #2391435) | Borderou de evaluare (job #2709518) | Borderou de evaluare (job #1627708) | Borderou de evaluare (job #684029) | Borderou de evaluare (job #1850222)
Borderou de evaluare (job #1850222)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:28:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<F[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:44:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld",&n,&m);
^
user.cpp:44:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:47:28: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&t[i+1]);
^
user.cpp:52:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=1;i<E.size();i++)
^
user.cpp:55:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=1;(1<<i)<E.size();i++)
^
user.cpp:56:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=0;j+(1<<i)-1<E.size();j++)
^
user.cpp:67:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld",&x,&y);
^
user.cpp:67:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:43:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lca.in","r",stdin);
^
user.cpp:44:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&n,&m);
^
user.cpp:47:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&t[i+1]);
^
user.cpp:67: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 |
Punctaj/grupa |
1 | 0ms | 1648kb | Incorect | 0 | 0 |
2 | 0ms | 1744kb | Incorect | 0 | 0 |
3 | 20ms | 4124kb | Incorect | 0 | 0 |
4 | 180ms | 18564kb | Incorect | 0 | 0 |
5 | 216ms | 31108kb | Incorect | 0 | 0 |
6 | 320ms | 31100kb | Incorect | 0 | 0 |
7 | 936ms | 36420kb | Incorect | 0 | 0 |
8 | 1524ms | 31108kb | Incorect | 0 | 0 |
9 | 1948ms | 31104kb | Incorect | 0 |
10 | 2136ms | 31100kb | Incorect | 0 |
Punctaj total | 0 |