Borderou de evaluare (job #1856552)

Utilizator alex_HarryBabalau Alexandru alex_Harry Data 25 ianuarie 2017 01:16:24
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:56:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < G[i].size(); j++) ^ user.cpp:58:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < G[i].size(); j++) ^ user.cpp:60:17: warning: unused variable ‘neighb’ [-Wunused-variable] int neighb = G[i][j].first, c = G[i][j].second; ^ 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: In function ‘void Solve()’: user.cpp:164: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:193: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:194: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:196: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
14ms2424kbOk!10
212ms2588kbRaspuns Gresit!0
336ms2920kbRaspuns Gresit!0
4728ms13784kbRaspuns Gresit!0
5596ms10728kbRaspuns Gresit!0
6624ms10156kbRaspuns Gresit!0
7704ms12280kbRaspuns Gresit!0
8680ms11780kbRaspuns Gresit!0
9684ms12152kbOk!10
10756ms13908kbOk!10
Punctaj total30

Ceva nu functioneaza?