Pagini recente » Borderou de evaluare (job #860038) | Borderou de evaluare (job #2711288) | Borderou de evaluare (job #3181616) | Borderou de evaluare (job #29290) | Borderou de evaluare (job #1868986)
Borderou de evaluare (job #1868986)
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 | 276kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | Depăşit | 340kb | Time limit exceeded. | 0 |
5 | Depăşit | 464kb | Time limit exceeded. | 0 |
6 | Depăşit | 632kb | Time limit exceeded. | 0 |
7 | Depăşit | 832kb | Time limit exceeded. | 0 |
8 | Depăşit | 924kb | Time limit exceeded. | 0 |
9 | Depăşit | 980kb | Time limit exceeded. | 0 |
10 | Depăşit | 1024kb | Time limit exceeded. | 0 |
Punctaj total | 30 |