Pagini recente » Borderou de evaluare (job #1819488) | Borderou de evaluare (job #1179754) | Borderou de evaluare (job #423502) | Borderou de evaluare (job #1974872) | Borderou de evaluare (job #1850218)
Borderou de evaluare (job #1850218)
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 | 1764kb | Incorect | 0 | 0 |
| 3 | 20ms | 4128kb | Incorect | 0 | 0 |
| 4 | 184ms | 18568kb | Incorect | 0 | 0 |
| 5 | 216ms | 31116kb | Incorect | 0 | 0 |
| 6 | 320ms | 31112kb | Incorect | 0 | 0 |
| 7 | 944ms | 36428kb | Incorect | 0 | 0 |
| 8 | 1560ms | 31112kb | Incorect | 0 | 0 |
| 9 | 1992ms | 31112kb | Incorect | 0 |
| 10 | 2212ms | 31112kb | Incorect | 0 |
| Punctaj total | 0 |