Pagini recente » Borderou de evaluare (job #1326127) | Borderou de evaluare (job #2896846) | Borderou de evaluare (job #1150450) | Borderou de evaluare (job #1018160) | Borderou de evaluare (job #2403458)
Borderou de evaluare (job #2403458)
Raport evaluator
Compilare:
main.cpp: In function 'void desc(long long int)':
main.cpp:22:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d ", (int)ans.size());
^
main.cpp:16:15: warning: unused variable 'clim' [-Wunused-variable]
long long clim = lim;
^~~~
main.cpp: In function 'int32_t main()':
main.cpp:55:31: 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:31:21: 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:12:31: warning: control reaches end of non-void function [-Wreturn-type]
return i - 1; } } }
^
main.cpp: In function 'int32_t main()':
main.cpp:29:36: 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:30:38: 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:32:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &p);
^
main.cpp:37:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
^
main.cpp:41:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
^
main.cpp:46:26: 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 | 92ms | 1560kb | OK | 10 |
9 | 89ms | 1560kb | OK | 10 |
10 | 88ms | 1691kb | OK | 10 |
Punctaj total | 100 |