Pagini recente » Borderou de evaluare (job #2170800) | Borderou de evaluare (job #1770146) | Borderou de evaluare (job #1787836) | Borderou de evaluare (job #2233783) | Borderou de evaluare (job #2712955)
Borderou de evaluare (job #2712955)
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(int, int)':
main.cpp:20:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<tree[nod].size();i++)
~^~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:46: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);
^
main.cpp:47:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("lca.out","w",stdout);
^
main.cpp:49:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i",&n,&m);
^
main.cpp:53:23: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i",&a);
^
main.cpp:71:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i",&a,&b);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 7ms | 2490kb | OK | 10 | 10 |
| 2 | 9ms | 2621kb | OK | 10 | 10 |
| 3 | 31ms | 4587kb | OK | 10 | 10 |
| 4 | 251ms | 14942kb | OK | 10 | 10 |
| 5 | 338ms | 22867kb | OK | 10 | 10 |
| 6 | 477ms | 23199kb | OK | 10 | 10 |
| 7 | 1317ms | 34340kb | OK | 10 | 10 |
| 8 | 1960ms | 26869kb | OK | 10 | 30 |
| 9 | 2054ms | 28180kb | OK | 10 |
| 10 | 2252ms | 28835kb | OK | 10 |
| Punctaj total | 100 |