Borderou de evaluare (job #1868986)

Utilizator rangalIstrate Sebastian rangal Data 5 februarie 2017 15:09:57
Problema Strabunica Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:20:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] For(i,1,n,1) ^ user.cpp:4:36: note: in definition of macro ‘For’ #define For(i,a,b,r) for(i = a; i<=b; i += r) ^ user.cpp:22:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] For(i,1,n,1) ^ user.cpp:4:36: note: in definition of macro ‘For’ #define For(i,a,b,r) for(i = a; i<=b; i += r) ^ user.cpp:26:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(j = i+1; j<= n && v[j] >= v[i]; ++j,++ct); ^ user.cpp:16:26: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(in,"r",stdin); ^ user.cpp:17:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(out,"w",stdout); ^ user.cpp:19:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ud",&n); ^ user.cpp:21:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ud",&*v+i); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbOK10
20ms276kbOK10
30ms280kbOK10
4Depăşit340kbTime limit exceeded.0
5Depăşit464kbTime limit exceeded.0
6Depăşit632kbTime limit exceeded.0
7Depăşit832kbTime limit exceeded.0
8Depăşit924kbTime limit exceeded.0
9Depăşit980kbTime limit exceeded.0
10Depăşit1024kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?