Borderou de evaluare (job #2546141)

Utilizator MoldovanAndrei1Moldovan Andrei MoldovanAndrei1 Data 13 februarie 2020 20:54:22
Problema Sortare topologica Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void dfs(int)': main.cpp:10:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(i=0;i<v[nod].size();i++) ~^~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:32:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation] for(i=1;i<=n;i++) ^~~ main.cpp:35:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for' while(!st.empty()) ^~~~~ main.cpp:24:15: warning: unused variable 'j' [-Wunused-variable] int n,m,i,j,a,b; ^ main.cpp:22:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sortaret.in","r",stdin); ^ main.cpp:23:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sortaret.out","w",stdout); ^ main.cpp:25:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ main.cpp:28:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms1310kbRaspuns gresit0
25ms1310kbRaspuns gresit0
36ms1310kbRaspuns gresit0
47ms1441kbRaspuns gresit0
510ms1572kbRaspuns gresit0
616ms1703kbRaspuns gresit0
732ms2228kbRaspuns gresit0
845ms2621kbRaspuns gresit0
996ms3932kbRaspuns gresit0
10156ms4849kbRaspuns gresit0
Punctaj total0

Ceva nu functioneaza?