Borderou de evaluare (job #1427930)

Utilizator ButnaruButnaru George Butnaru Data 3 mai 2015 12:53:19
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:29:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=] scanf("%d%d%d%d%d",&a,&b,&c,&d,&e); ^ user.cpp:29:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=] user.cpp:33:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (x>=e) x=x%e; ^ user.cpp:26:31: 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:27:33: 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:28:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:29:35: 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:38:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&xx); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms696kbOK10
20ms2304kbOK10
336ms784kbOK10
4272msDepăşitMemory limit exceeded.0
5180ms2732kbOK10
6136msDepăşitMemory limit exceeded.0
7528ms992kbOK10
8152msDepăşitMemory limit exceeded.0
9136msDepăşitMemory limit exceeded.0
100ms320kbOK10
Punctaj total60

Ceva nu functioneaza?