Pagini recente » Borderou de evaluare (job #1092287) | Borderou de evaluare (job #1767078) | Borderou de evaluare (job #1106517) | Borderou de evaluare (job #1762542) | Borderou de evaluare (job #1950802)
Borderou de evaluare (job #1950802)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(x%d==0) if(x/d==d) a[d]++;
^
user.cpp:29:18: warning: left operand of comma operator has no effect [-Wunused-value]
for(d=max1; d>=1,a[d]<k ; d--);
^
user.cpp:34:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(b[i])
^
user.cpp:7: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:8: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:9:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&n,&k);
^
user.cpp:12:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 5 |
2 | 4ms | 1320kb | OK | 5 |
3 | 0ms | 644kb | OK | 5 |
4 | 0ms | 280kb | OK | 5 |
5 | 4ms | 788kb | OK | 5 |
6 | 20ms | 352kb | OK | 5 |
7 | 24ms | 5300kb | OK | 5 |
8 | 80ms | 1840kb | OK | 5 |
9 | 96ms | 2620kb | OK | 5 |
10 | Depăşit | 8060kb | Time limit exceeded. | 0 |
11 | Depăşit | 8064kb | Time limit exceeded. | 0 |
12 | Depăşit | 8060kb | Time limit exceeded. | 0 |
13 | Depăşit | 8072kb | Time limit exceeded. | 0 |
14 | Depăşit | 8060kb | Time limit exceeded. | 0 |
15 | Depăşit | 8064kb | Time limit exceeded. | 0 |
16 | Depăşit | 8064kb | Time limit exceeded. | 0 |
17 | Depăşit | 8064kb | Time limit exceeded. | 0 |
18 | Depăşit | 8068kb | Time limit exceeded. | 0 |
19 | Depăşit | 8068kb | Time limit exceeded. | 0 |
20 | 0ms | 272kb | OK | 5 |
Punctaj total | 50 |