Borderou de evaluare (job #1856548)

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

Raport evaluator

Compilare: user.cpp: In function ‘void buildPairs()’: user.cpp:53:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < G[i].size(); j++) ^ user.cpp:55:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < G[i].size(); j++) ^ user.cpp:57:17: warning: unused variable ‘neighb’ [-Wunused-variable] int neighb = G[i][j].first, c = G[i][j].second; ^ user.cpp:60: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:161: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:30: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:34: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:182: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:183: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:185: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
10ms2048kbOk!10
212ms2216kbOk!10
332ms2552kbRaspuns Gresit!0
4728ms13412kbRaspuns Gresit!0
5596ms10340kbRaspuns Gresit!0
6624ms9780kbRaspuns Gresit!0
7700ms11912kbRaspuns Gresit!0
8680ms11516kbRaspuns Gresit!0
9700ms11784kbOk!10
10760ms13536kbOk!10
Punctaj total40

Ceva nu functioneaza?