Borderou de evaluare (job #1794876)

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

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
10ms400kbOK10
20ms404kbOK10
364ms448kbOK10
4128ms488kbOK10
5272ms480kbOK10
6724ms484kbOK10
7Depăşit472kbTime limit exceeded.0
8Depăşit468kbTime limit exceeded.0
9Depăşit464kbTime limit exceeded.0
100ms392kbOK10
Punctaj total70

Ceva nu functioneaza?