Borderou de evaluare (job #1468036)

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

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
18ms6284kbOK10
28ms6292kbOK10
376ms6368kbOK10
4236ms6412kbOK10
5324ms6444kbOK10
6Depăşit6424kbTime limit exceeded.0
7Depăşit6420kbTime limit exceeded.0
8Depăşit6420kbTime limit exceeded.0
9Depăşit6420kbTime limit exceeded.0
108ms6288kbOK10
Punctaj total60

Ceva nu functioneaza?