Borderou de evaluare (job #1748788)

Utilizator mariakKapros Maria mariak Data 26 august 2016 21:17:55
Problema Autobuze3 Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:67:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < V[x].size(); ++ i) ^ user.cpp:85:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < V[x].size(); ++ i) ^ user.cpp:65:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j, nod, p = -1; ^ user.cpp: In function ‘void write()’: user.cpp:109:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n", ans); ^ user.cpp: In function ‘void read()’: user.cpp:40: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:42:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &v[i].x, &v[i].y, &v[i].c); ^ user.cpp: In function ‘int main()’: user.cpp:118:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("autobuze3.in", "r", stdin); ^ user.cpp:119:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("autobuze3.out", "w", stdout); ^ user.cpp:120:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1840ms12912kbDar stai domne ca nu ai adus toti soferii in acelasi autobuz!0
Punctaj total0

Ceva nu functioneaza?