Borderou de evaluare (job #1856568)

Utilizator DM1234Radu Radu DM1234 Data 25 ianuarie 2017 01:52:37
Problema Ulei Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void buildPairs()’: user.cpp:61:17: warning: variable ‘a’ set but not used [-Wunused-but-set-variable] int a; ^ user.cpp:64:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < G[i].size(); j++) ^ user.cpp:66:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int j = 0; j < G[i].size(); j++) ^ user.cpp:68:17: warning: unused variable ‘neighb’ [-Wunused-variable] int neighb = G[i][j].first, c = G[i][j].second; ^ user.cpp:71: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:120:17: warning: variable ‘a’ set but not used [-Wunused-but-set-variable] int a; ^ user.cpp: In function ‘void Solve()’: user.cpp:198:17: warning: variable ‘a’ set but not used [-Wunused-but-set-variable] int a; ^ user.cpp:200:17: warning: unused variable ‘x’ [-Wunused-variable] int x = E[last][Node]; ^ user.cpp:201:17: warning: unused variable ‘y’ [-Wunused-variable] int y = E[last2][last]; ^ user.cpp:183: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:32: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:36: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:214: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:215: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:216: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
14ms2416kbRaspuns Gresit!0
220ms2728kbRaspuns Gresit!0
360ms3156kbRaspuns Gresit!0
4Depăşit19120kbTime limit exceeded.0
5Depăşit16892kbTime limit exceeded.0
6Depăşit16360kbTime limit exceeded.0
7Depăşit18220kbTime limit exceeded.0
8Depăşit17892kbTime limit exceeded.0
9Depăşit17740kbTime limit exceeded.0
10Depăşit19328kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?