Pagini recente » Borderou de evaluare (job #2411334) | Borderou de evaluare (job #2643295) | Borderou de evaluare (job #372989) | Borderou de evaluare (job #2857557) | Borderou de evaluare (job #2059102)
Borderou de evaluare (job #2059102)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:7:20: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%lld",&n);
^
user.cpp:9:28: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%lld", &v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:46:30: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘int’ [-Wformat=]
printf("%lld ",aux[i]);
^
user.cpp:28:16: warning: unused variable ‘imin’ [-Wunused-variable]
int imax=0,imin=0;
^
user.cpp:31:22: warning: unused variable ‘min1’ [-Wunused-variable]
long long max1=0,min1=2100000000;
^
user.cpp: In function ‘void read()’:
user.cpp:7:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
^
user.cpp:9:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &v[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:23:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.in","r",stdin);
^
user.cpp:24:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("scmax.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 468kb | Corect! | 10 | 10 |
2 | 8ms | 484kb | Corect! | 10 | 10 |
3 | 0ms | 456kb | Corect! | 10 | 10 |
4 | 0ms | 456kb | Corect! | 10 | 10 |
5 | 0ms | 460kb | Corect! | 10 | 10 |
6 | 8ms | 464kb | Corect! | 10 | 10 |
7 | 12ms | 464kb | Corect! | 10 | 10 |
8 | Depăşit | 836kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 888kb | Time limit exceeded. | 0 |
10 | Depăşit | 840kb | Time limit exceeded. | 0 |
Punctaj total | 70 |