Borderou de evaluare (job #2597672)

Utilizator StoianRaduStoian Radu StoianRadu Data 11 aprilie 2020 11:05:25
Problema Freakadebunic Status done
Runda Fmi No Stress 9 Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int dfs(int, int)': main.cpp:19:20: warning: no return statement in function returning non-void [-Wreturn-type] sol.push_back(nod);} ^ main.cpp: In function 'int main()': main.cpp:32:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=] printf("%d\n",sol.size()); ^ main.cpp:21:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("freakdebunic.in","r",stdin); ^ main.cpp:22:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("freakdebunic.out","w",stdout); ^ main.cpp:24:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^ main.cpp:26:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x),assert(x<=n),cnt[x]=1; ^ main.cpp:28:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
15ms2490kbKilled by Signal 110
26ms2490kbKilled by Signal 110
35ms2490kbKilled by Signal 110
45ms2490kbKilled by Signal 110
55ms2490kbKilled by Signal 110
65ms2490kbKilled by Signal 110
76ms2490kbKilled by Signal 110
86ms2490kbKilled by Signal 110
96ms2490kbKilled by Signal 110
106ms2490kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?