Borderou de evaluare (job #2715136)

Utilizator NorbiNORBI KOVER Norbi Data 3 martie 2021 08:29:32
Problema Sortare topologica Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void read()': main.cpp:14:28: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=] fscanf(f,"%ld%ld",&n,&m); ^ main.cpp:14:28: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'int*' [-Wformat=] main.cpp:18:32: warning: format '%ld' expects argument of type 'long int*', but argument 3 has type 'int*' [-Wformat=] fscanf(f,"%ld%ld",&x,&y); ^ main.cpp:18:32: warning: format '%ld' expects argument of type 'long int*', but argument 4 has type 'int*' [-Wformat=] main.cpp: In function 'void Resolve(int)': main.cpp:25:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j=0;j<Muchii[nodCurent].size();j++) ~^~~~~~~~~~~~~~~~~~~~~~~~~ main.cpp: In function 'int main()': main.cpp:38:35: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] fprintf(g,"%ld ",Sortat[i]); ^ main.cpp: In function 'void read()': main.cpp:14:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%ld%ld",&n,&m); ^ main.cpp:18:33: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%ld%ld",&x,&y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms1310kbKilled by Signal 110
24ms1310kbKilled by Signal 110
34ms1310kbKilled by Signal 110
44ms1310kbKilled by Signal 110
53ms1310kbKilled by Signal 110
64ms1310kbKilled by Signal 110
74ms1310kbKilled by Signal 110
84ms1310kbKilled by Signal 110
94ms1310kbKilled by Signal 110
104ms1310kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?