Borderou de evaluare (job #1856556)

Utilizator alex_HarryBabalau Alexandru alex_Harry Data 25 ianuarie 2017 01:27:42
Problema Ulei Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘void buildPairs()’: user.cpp:60:17: warning: variable ‘a’ set but not used [-Wunused-but-set-variable] int a; ^ user.cpp:63:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < G[i].size(); j++) ^ user.cpp:65:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < G[i].size(); j++) ^ user.cpp:67:17: warning: unused variable ‘neighb’ [-Wunused-variable] int neighb = G[i][j].first, c = G[i][j].second; ^ user.cpp:70:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < G[i].size(); j++) ^ user.cpp: In function ‘int Cycle(int, int, int)’: user.cpp:119:17: warning: variable ‘a’ set but not used [-Wunused-but-set-variable] int a; ^ user.cpp: In function ‘void Solve()’: user.cpp:177:29: warning: variable ‘second’ set but not used [-Wunused-but-set-variable] int last = 1,last2 = 0, second; ^ user.cpp: In function ‘void Read()’: user.cpp:31:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &N, &M); ^ user.cpp:35:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &x, &y, &c); ^ user.cpp: In function ‘int main()’: user.cpp:206:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ulei.in", "r", stdin); ^ user.cpp:207:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("ulei.out", "w", stdout); ^ user.cpp:209: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
10ms2424kbOk!10
212ms2592kbRaspuns Gresit!0
336ms2924kbRaspuns Gresit!0
4756ms13788kbRaspuns Gresit!0
5624ms10736kbRaspuns Gresit!0
6656ms10148kbRaspuns Gresit!0
7732ms12280kbRaspuns Gresit!0
8716ms11780kbRaspuns Gresit!0
9752ms12152kbOk!10
10800ms13908kbOk!10
Punctaj total30

Ceva nu functioneaza?