Borderou de evaluare (job #1670113)

Utilizator ZenusTudor Costin Razvan Zenus Data 31 martie 2016 14:18:50
Problema Ulei Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void eliminate(int, int)’: user.cpp:16:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0 ; i < g[x].size() ; ++i) ^ user.cpp: In function ‘void run(int)’: user.cpp:30:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0 ; i < g[x].size() ; ++i) ^ user.cpp:26:9: warning: unused variable ‘to’ [-Wunused-variable] int to; ^ user.cpp: In function ‘int main()’: user.cpp:70:33: 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:71:35: 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:73:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (scanf("%d" , &T) ; T ; --T) ^ user.cpp:75:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &n); ^ user.cpp:76:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &m); ^ user.cpp:84:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &x); ^ user.cpp:85:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &y); ^ user.cpp:86:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d" , &z); ^ user.cpp: In function ‘void run(int)’: user.cpp:27:22: warning: ‘to’ may be used uninitialized in this function [-Wmaybe-uninitialized] while (g[x].size()) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1620kbOk!10
224ms1776kbRaspuns Gresit!0
368ms1840kbRaspuns Gresit!0
4Depăşit10220kbTime limit exceeded.0
5Depăşit9776kbTime limit exceeded.0
6Depăşit9772kbTime limit exceeded.0
7Depăşit10168kbTime limit exceeded.0
8Depăşit10168kbTime limit exceeded.0
9Depăşit10176kbTime limit exceeded.0
10Depăşit10300kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?