Borderou de evaluare (job #1245034)

Utilizator cojocarugabiReality cojocarugabi Data 18 octombrie 2014 15:50:28
Problema Flori Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘short int read()’: user.cpp:10:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[30]’ [-Wformat=] scanf("%s",&c); ^ user.cpp: In function ‘int main()’: user.cpp:23:72: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] for (rshort i=1,x;i<=n;++i) for (rshort j=1;j<=m;++j) scanf("%d",&x),v[i][x]=1,Nmax=max(Nmax,x); ^ user.cpp:18:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("flori.in","r",stdin); ^ user.cpp:19:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("flori.out","w",stdout); ^ user.cpp:20: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:23:100: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for (rshort i=1,x;i<=n;++i) for (rshort j=1;j<=m;++j) scanf("%d",&x),v[i][x]=1,Nmax=max(Nmax,x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms564kbOK1050
20ms560kbOK10
38ms564kbOK10
480ms556kbOK10
5116ms560kbOK10
6Depăşit560kbTime limit exceeded.00
7Depăşit556kbTime limit exceeded.0
80ms560kbOK10
90ms556kbOK10
104ms556kbOK10
Punctaj total50

Ceva nu functioneaza?