Borderou de evaluare (job #1794870)

Utilizator giotoPopescu Ioan gioto Data 1 noiembrie 2016 19:52:29
Problema Muzica Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 1; i <= n ; ++i){ ^ user.cpp:35:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(NR == n){printf("2"); return 0;} ^ user.cpp:36:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 1; i <= m ; ++i){ ^ user.cpp:42:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(NR == n) break; ^ user.cpp:24:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("muzica.in", "r", stdin); ^ user.cpp:25:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("muzica.out", "w", stdout); ^ user.cpp:26: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:27:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d", &a, &b, &c, &d, &e); ^ user.cpp:29:24: 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
112ms8080kbOK10
212ms8092kbOK10
372ms8160kbOK10
4220ms8204kbOK10
5312ms8236kbOK10
6Depăşit8220kbTime limit exceeded.0
7Depăşit8224kbTime limit exceeded.0
8Depăşit8220kbTime limit exceeded.0
9Depăşit8224kbTime limit exceeded.0
1012ms8084kbOK10
Punctaj total60

Ceva nu functioneaza?