Borderou de evaluare (job #1707082)

Utilizator andru47Stefanescu Andru andru47 Data 24 mai 2016 09:59:07
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
10ms1620kbRaspuns gresit0
20ms1624kbRaspuns gresit0
30ms1628kbRaspuns gresit0
40ms1656kbRaspuns gresit0
54ms1688kbRaspuns gresit0
68ms1736kbRaspuns gresit0
716ms1876kbRaspuns gresit0
824ms1976kbRaspuns gresit0
952ms2332kbRaspuns gresit0
1088ms2672kbRaspuns gresit0
Punctaj total0

Ceva nu functioneaza?