Pagini recente » Borderou de evaluare (job #20518) | Borderou de evaluare (job #1487102) | Borderou de evaluare (job #1210812) | Borderou de evaluare (job #1258403) | Borderou de evaluare (job #1258407)
Borderou de evaluare (job #1258407)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:16: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&t);
^
user.cpp:13:20: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp:19:24: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&y);
^
user.cpp:40:40: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(nr>=n/2+1) printf("%ld\n",a[tsec]);
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avarcolaci.in","r",stdin);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("avarcolaci.out","w",stdout);
^
user.cpp:9:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&t);
^
user.cpp:13:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:19:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | OK | 10 |
2 | 0ms | 432kb | OK | 10 |
3 | 0ms | 440kb | OK | 10 |
4 | 0ms | 436kb | OK | 10 |
5 | 584ms | 440kb | OK | 10 |
6 | 816ms | 436kb | OK | 10 |
7 | 596ms | 436kb | OK | 10 |
8 | 788ms | 436kb | OK | 10 |
9 | Depăşit | 432kb | Time limit exceeded. | 0 |
10 | 4632ms | 436kb | OK | 10 |
Punctaj total | 90 |