Borderou de evaluare (job #1794873)

Utilizator giotoPopescu Ioan gioto Data 1 noiembrie 2016 19:54:47
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
112ms8088kbOK10
212ms8092kbOK10
368ms8160kbOK10
4216ms8212kbOK10
5268ms8236kbOK10
6Depăşit8220kbTime limit exceeded.0
7Depăşit8236kbTime limit exceeded.0
8Depăşit8216kbTime limit exceeded.0
9Depăşit8220kbTime limit exceeded.0
1012ms8088kbOK10
Punctaj total60

Ceva nu functioneaza?