Borderou de evaluare (job #1780287)

Utilizator akaprosAna Kapros akapros Data 15 octombrie 2016 23:21:53
Problema Curent Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 35

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:19:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (i = 0; i < V[x].size(); ++ i) ^ user.cpp: In function ‘void solve()’: user.cpp:86:52: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘bool*’ [-Wformat=] scanf("%d %d %d", &v[i].a, &v[i].b, &v[i].c); ^ user.cpp: In function ‘void read()’: user.cpp:70:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("curent.in", "r", stdin); ^ user.cpp:71:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.cpp:74:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &f[i]); ^ user.cpp: In function ‘void solve()’: user.cpp:84:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &m); ^ user.cpp:86:53: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d", &v[i].a, &v[i].b, &v[i].c); ^ user.cpp:88:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:90:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &q[i]); ^ user.cpp: In function ‘void write()’: user.cpp:94:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("curent.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1652kbRaspuns gresit0
20ms1648kbRaspuns gresit0
30ms1644kbOK5
40ms1644kbRaspuns gresit0
50ms1652kbRaspuns gresit0
624ms2256kbOK5
732ms2328kbRaspuns gresit0
864ms2992kbOK5
980ms3876kbOK10
10136ms4824kbOK10
11224ms6256kbRaspuns gresit0
12288ms6960kbRaspuns gresit0
13340ms7272kbRaspuns gresit0
14312ms7704kbRaspuns gresit0
Punctaj total35

Ceva nu functioneaza?