Pagini recente » Borderou de evaluare (job #1680738) | Borderou de evaluare (job #1606129) | Borderou de evaluare (job #1704089) | Borderou de evaluare (job #1868985)
Borderou de evaluare (job #1868985)
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 |
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | 0ms | 284kb | OK | 10 |
| 4 | Depăşit | 340kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 460kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 636kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 828kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 924kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 976kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1024kb | Time limit exceeded. | 0 |
| Punctaj total | 30 |