Borderou de evaluare (job #1614252)

Utilizator RazvanR104Razvan-Andrei Ciocoiu RazvanR104 Data 25 februarie 2016 21:13:12
Problema Drumuri4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘std::pair<int, int> ChainEndNodes(int)’: user.cpp:110:9: warning: variable ‘last_k’ set but not used [-Wunused-but-set-variable] int last_k = x, last_nd = x, last_2 = x; ^ user.cpp: In function ‘std::pair<int, int> DistanceDNodes(int, int)’: user.cpp:230:9: warning: variable ‘last_k’ set but not used [-Wunused-but-set-variable] int last_k = x, last_nd = x, last_2 = x; ^ user.cpp: In function ‘int main()’: user.cpp:383:9: warning: unused variable ‘i’ [-Wunused-variable] int i, j, op, x, y, D; ^ user.cpp:383:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j, op, x, y, D; ^ user.cpp:380:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &N, &M); ^ user.cpp:386:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &op); ^ user.cpp:388:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^ user.cpp:398:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^ user.cpp:411:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &D); ^ user.cpp:425:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
124ms1888kbOK5
224ms1940kbOK5
3136ms2008kbOK5
4172ms2068kbOK5
564ms2184kbOK5
636ms1936kbOK5
7140ms2116kbOK5
8144ms2176kbOK5
9Depăşit4232kbTime limit exceeded.0
10Depăşit4236kbTime limit exceeded.0
11Depăşit4264kbTime limit exceeded.0
12Depăşit4208kbTime limit exceeded.0
13Depăşit4212kbTime limit exceeded.0
14Depăşit4212kbTime limit exceeded.0
15Depăşit4248kbTime limit exceeded.0
16Depăşit4228kbTime limit exceeded.0
17Depăşit4204kbTime limit exceeded.0
18Depăşit4220kbTime limit exceeded.0
19Depăşit4244kbTime limit exceeded.0
20Depăşit4192kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?