Borderou de evaluare (job #1225311)

Utilizator blasterzMircea Dima blasterz Data 2 septembrie 2014 13:43:46
Problema Stramosi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void dfs(int)’: user.cpp:38:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < A[t].size(); ++i) { ^ user.cpp:43:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (p >= 0 && p < b.size()) ^ user.cpp:42:13: warning: variable ‘val’ set but not used [-Wunused-but-set-variable] int val = 0; ^ user.cpp:47:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < a[t].size(); ++i) ^ user.cpp: In function ‘void read()’: user.cpp:21:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d ", &n, &m); ^ user.cpp:24:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d ", &x); ^ user.cpp:31:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d ", &node[i], &k[i]); ^ user.cpp: In function ‘int main()’: user.cpp:61:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("stramosi.in", "r", stdin); ^ user.cpp:62:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("stramosi.out", "w", stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
112ms9080kbRaspuns gresit!0
212ms9100kbRaspuns gresit!0
316ms9244kbRaspuns gresit!0
424ms9904kbRaspuns gresit!0
528ms10040kbRaspuns gresit!0
672ms11984kbRaspuns gresit!0
7140ms12160kbRaspuns gresit!0
8260ms14324kbRaspuns gresit!0
9472ms26552kbRaspuns gresit!0
10500ms29384kbRaspuns gresit!0
Punctaj total0

Ceva nu functioneaza?