Pagini recente » Borderou de evaluare (job #60637) | Borderou de evaluare (job #1104447) | Borderou de evaluare (job #2859227) | Borderou de evaluare (job #1523582) | Borderou de evaluare (job #2403344)
Borderou de evaluare (job #2403344)
Raport evaluator
Compilare:
main.cpp: In function 'void desc(long long int)':
main.cpp:28:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d ",(int)ans.size());
^
main.cpp:20:15: warning: unused variable 'clim' [-Wunused-variable]
long long clim=lim;
^~~~
main.cpp: In function 'int32_t main()':
main.cpp:72:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<long long int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d ",coefs.size());
^
main.cpp:40:19: warning: unused variable 'x' [-Wunused-variable]
long long p,n,x;
^
main.cpp: In function 'long long int max_fact(long long int)':
main.cpp:16:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
main.cpp: In function 'int32_t main()':
main.cpp:38:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bazaf.in","r",stdin);
^
main.cpp:39:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("bazaf.out","w",stdout);
^
main.cpp:41:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&p);
^
main.cpp:49:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
^
main.cpp:54:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
^
main.cpp:60:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&f);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 2ms | 131kb | OK | 10 |
3 | 2ms | 131kb | OK | 10 |
4 | 2ms | 131kb | OK | 10 |
5 | 2ms | 131kb | OK | 10 |
6 | 2ms | 131kb | OK | 10 |
7 | 2ms | 131kb | OK | 10 |
8 | 94ms | 1560kb | OK | 10 |
9 | 89ms | 1560kb | OK | 10 |
10 | 90ms | 1560kb | OK | 10 |
Punctaj total | 100 |