Borderou de evaluare (job #1707080)

Utilizator andru47Stefanescu Andru andru47 Data 24 mai 2016 09:58:01
Problema Sortare topologica Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:11:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i<g[x].size(); ++i) ^ user.cpp:13:24: warning: pointer to a function used in arithmetic [-Wpointer-arith] dfs[g[x][i]]; ^ user.cpp:13:24: warning: value computed is not used [-Wunused-value] user.cpp:13:24: warning: value computed is not used [-Wunused-value] user.cpp: In function ‘int main()’: user.cpp:18: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); ^ user.cpp:19: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); ^ user.cpp:20:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n ,&m); ^ user.cpp:23:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d\n", &x, &y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1624kbRaspuns gresit0
20ms1624kbRaspuns gresit0
30ms1632kbRaspuns gresit0
40ms1648kbRaspuns gresit0
54ms1676kbRaspuns gresit0
64ms1700kbRaspuns gresit0
712ms1836kbRaspuns gresit0
820ms1924kbRaspuns gresit0
940ms2192kbRaspuns gresit0
1048ms2316kbRaspuns gresit0
Punctaj total0

Ceva nu functioneaza?