Borderou de evaluare (job #1303962)

Utilizator the@EyE@Postavaru Stefan the@EyE@ Data 28 decembrie 2014 15:49:06
Problema Sarac Sau Rege Status done
Runda Happy Birthday Infoarena 2014 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void createMax()’: user.cpp:30:12: warning: statement has no effect [-Wunused-value] for(ind;ind<p2&&ind<n;ind++) ^ user.cpp: In function ‘int main()’: user.cpp:51:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d",&n,&m); ^ user.cpp:51:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:49:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.in","r",stdin); ^ user.cpp:50:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("saracsaurege.out","w",stdout); ^ user.cpp:51: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:52:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] for(short i=0;i<n;++i)scanf("%hd",&v[i]); ^ user.cpp:58:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%hd%hd",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit276kbTime limit exceeded.0
2Depăşit268kbTime limit exceeded.0
3Depăşit252kbTime limit exceeded.0
4Depăşit272kbTime limit exceeded.0
50ms252kbIncorect0
60ms256kbIncorect0
7Depăşit276kbTime limit exceeded.0
8Depăşit252kbTime limit exceeded.0
9Depăşit248kbTime limit exceeded.0
10Depăşit252kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?