Pagini recente » Borderou de evaluare (job #2048565) | Borderou de evaluare (job #1804601) | Borderou de evaluare (job #1841387) | Borderou de evaluare (job #963976) | Borderou de evaluare (job #1813823)
Borderou de evaluare (job #1813823)
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 | 1636kb | OK | 10 | 10 |
2 | 0ms | 1724kb | OK | 10 | 10 |
3 | 16ms | 4096kb | OK | 10 | 10 |
4 | 180ms | 18572kb | OK | 10 | 10 |
5 | 212ms | 31044kb | OK | 10 | 10 |
6 | 316ms | 31044kb | OK | 10 | 10 |
7 | 936ms | 36364kb | OK | 10 | 10 |
8 | 1572ms | 31044kb | OK | 10 | 30 |
9 | 1940ms | 31048kb | OK | 10 |
10 | 2188ms | 31044kb | OK | 10 |
Punctaj total | 100 |