Pagini recente » Borderou de evaluare (job #2239504) | Borderou de evaluare (job #600099) | Borderou de evaluare (job #634063) | Borderou de evaluare (job #115471) | Borderou de evaluare (job #2244323)
Borderou de evaluare (job #2244323)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:23: warning: unused variable ‘prod’ [-Wunused-variable]
long long prod = 1;
^~~~
user.cpp:9:9: warning: unused variable ‘number_of_tests’ [-Wunused-variable]
int number_of_tests , n , maximum , number , second , ok, k,div;
^~~~~~~~~~~~~~~
user.cpp:10:15: warning: variable ‘prodmin’ set but not used [-Wunused-but-set-variable]
long long prodmin;
^~~~~~~
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmmdc2.in","r",stdin);
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmmdc2.out","w",stdout);
^
user.cpp:13:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:17:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d" , &number);
^
user.cpp:42:17: warning: ‘div’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(v[i] % div == 0 && k > 0){
~~~~~^~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 804kb | OK | 5 |
2 | 288ms | 916kb | OK | 5 |
3 | 164ms | 860kb | OK | 5 |
4 | 0ms | 936kb | OK | 5 |
5 | 412ms | 932kb | OK | 5 |
6 | 4ms | 796kb | OK | 5 |
7 | 40ms | 1612kb | Incorect | 0 |
8 | 8ms | 896kb | OK | 5 |
9 | 12ms | 996kb | OK | 5 |
10 | 332ms | 4788kb | Incorect | 0 |
11 | 388ms | 4784kb | Incorect | 0 |
12 | 432ms | 4784kb | Incorect | 0 |
13 | 488ms | 4784kb | Incorect | 0 |
14 | 536ms | 5152kb | Incorect | 0 |
15 | 588ms | 5536kb | Incorect | 0 |
16 | 588ms | 5536kb | Incorect | 0 |
17 | 584ms | 5536kb | Incorect | 0 |
18 | 576ms | 5532kb | Incorect | 0 |
19 | 584ms | 5532kb | Incorect | 0 |
20 | 0ms | 800kb | OK | 5 |
Punctaj total | 45 |