Borderou de evaluare (job #1612998)

Utilizator al.mocanuAlexandru Mocanu al.mocanu Data 25 februarie 2016 10:06:26
Problema Bridge Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int calculate(int, int)’: user.cpp:28:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < telSource[x].size(); i++) ^ user.cpp:47:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < telSource[x].size(); i++) ^ user.cpp: In function ‘int main()’: user.cpp:69:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < tel.size(); i++){ ^ user.cpp: In function ‘int calculate(int, int)’: user.cpp:54:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:57:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bridge.in", "r", stdin); ^ user.cpp:58:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("bridge.out", "w", stdout); ^ user.cpp:59:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:65:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &v[i]); ^ user.cpp:70:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &t); ^ user.cpp:103:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &k); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
180ms62932kbIncorect0
280ms62936kbOK10
3100ms62940kbIncorect0
4Depăşit62940kbTime limit exceeded.0
5Depăşit63160kbTime limit exceeded.0
6Depăşit63136kbTime limit exceeded.0
7Depăşit63140kbTime limit exceeded.0
8Depăşit63136kbTime limit exceeded.0
9Depăşit63136kbTime limit exceeded.0
10Depăşit63112kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?