Pagini recente » Borderou de evaluare (job #311621) | Borderou de evaluare (job #282238) | Borderou de evaluare (job #3176011) | Borderou de evaluare (job #1565832) | Borderou de evaluare (job #1850216)
Borderou de evaluare (job #1850216)
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:61:45: warning: suggest parentheses around ‘-’ inside ‘<<’ [-Wparentheses]
rmq[i][j] = rmq[i-1][j+(1<<i-1)];
^
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 | 1652kb | Incorect | 0 | 0 |
2 | 0ms | 1760kb | Incorect | 0 | 0 |
3 | 20ms | 4128kb | Incorect | 0 | 0 |
4 | 184ms | 18568kb | Incorect | 0 | 0 |
5 | 220ms | 31120kb | Incorect | 0 | 0 |
6 | 324ms | 31116kb | Incorect | 0 | 0 |
7 | 956ms | 36432kb | Incorect | 0 | 0 |
8 | 1588ms | 31112kb | Incorect | 0 | 0 |
9 | 2024ms | 31112kb | Incorect | 0 |
10 | 2192ms | 31112kb | Incorect | 0 |
Punctaj total | 0 |