Borderou de evaluare (job #1856478)

Utilizator alex_HarryBabalau Alexandru alex_Harry Data 24 ianuarie 2017 22:39:14
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:51:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < G[i].size(); j++) ^ user.cpp:53:17: warning: unused variable ‘neighb’ [-Wunused-variable] int neighb = G[i][j].first, c = G[i][j].second; ^ 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: In function ‘void Cycle(int, int, int)’: user.cpp:140:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(p >= PozG[Node].size() || Use[PozG[Node][p]] == 1) ^ user.cpp:102:20: warning: unused variable ‘startE’ [-Wunused-variable] int start = 0, startE = 0; ^ user.cpp: In function ‘void Solve()’: user.cpp:158: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:184: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:185: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:187: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
14ms2508kbOk!10
220ms2840kbOk!10
360ms3944kbOk!10
4Depăşit32620kbTime limit exceeded.0
5940ms15744kbOk!10
61416ms22608kbOk!10
7Depăşit32224kbTime limit exceeded.0
8Depăşit31372kbTime limit exceeded.0
9Depăşit32016kbTime limit exceeded.0
10Depăşit32908kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?