Borderou de evaluare (job #1856479)

Utilizator alex_HarryBabalau Alexandru alex_Harry Data 24 ianuarie 2017 22:41:31
Problema Ulei Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void buildPairs()’: user.cpp:50:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < G[i].size(); j++) ^ user.cpp:52:17: warning: unused variable ‘neighb’ [-Wunused-variable] int neighb = G[i][j].first, c = G[i][j].second; ^ 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: In function ‘void Cycle(int, int, int)’: user.cpp:141:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(p >= PozG[Node].size() || Use[PozG[Node][p]] == 1) ^ user.cpp:103:20: warning: unused variable ‘startE’ [-Wunused-variable] int start = 0, startE = 0; ^ user.cpp: In function ‘void Solve()’: user.cpp:159: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:29: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:33: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:185: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:186: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:188: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
14ms2340kbOk!10
220ms2676kbOk!10
360ms3776kbOk!10
4Depăşit32452kbTime limit exceeded.0
5948ms15740kbOk!10
61420ms22340kbOk!10
7Depăşit32056kbTime limit exceeded.0
8Depăşit31200kbTime limit exceeded.0
9Depăşit31848kbTime limit exceeded.0
10Depăşit32740kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?