Pagini recente » Borderou de evaluare (job #248791) | Borderou de evaluare (job #430855) | Borderou de evaluare (job #525089) | Borderou de evaluare (job #1534433) | Borderou de evaluare (job #1813818)
Borderou de evaluare (job #1813818)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:21:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<G[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:49:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld",&n,&m);
^
user.cpp:49:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:52:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld",&t[i]);
^
user.cpp:74:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld",&x,&y);
^
user.cpp:74:29: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:47: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:49: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:52:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&t[i]);
^
user.cpp:74: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 | 1644kb | Incorect | 0 | 0 |
2 | 0ms | 1728kb | Incorect | 0 | 0 |
3 | 16ms | 4092kb | Incorect | 0 | 0 |
4 | 176ms | 18572kb | Incorect | 0 | 0 |
5 | 212ms | 31048kb | Incorect | 0 | 0 |
6 | 312ms | 31040kb | Incorect | 0 | 0 |
7 | 936ms | 36360kb | OK | 10 | 10 |
8 | 1564ms | 31044kb | Incorect | 0 | 0 |
9 | 1984ms | 31044kb | Incorect | 0 |
10 | 2216ms | 31044kb | Incorect | 0 |
Punctaj total | 10 |