Borderou de evaluare (job #1468033)

Utilizator horiainfoTurcuman Horia horiainfo Data 5 august 2015 08:36:27
Problema Muzica Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘bool verif(int)’: user.cpp:16:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i=0;i<mat[d].size();i++) ^ user.cpp: In function ‘int main()’: user.cpp:28:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&n,&m); ^ user.cpp:28:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:29:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d%d%d",&a,&b,&c,&d,&e); ^ user.cpp:29:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:29:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:29:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:29:38: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=] user.cpp:32:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&x); ^ user.cpp:27:35: 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:28:24: 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:39: 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:32:23: 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
10ms1600kbOK10
20ms1604kbOK10
368ms1676kbOK10
4152ms1720kbOK10
5300ms1752kbOK10
6776ms1744kbOK10
7Depăşit1724kbTime limit exceeded.0
8Depăşit1720kbTime limit exceeded.0
9Depăşit1724kbTime limit exceeded.0
100ms1604kbOK10
Punctaj total70

Ceva nu functioneaza?