Pagini recente » Borderou de evaluare (job #404188) | Borderou de evaluare (job #1700761) | Borderou de evaluare (job #767897) | Borderou de evaluare (job #32033) | Borderou de evaluare (job #1858702)
Borderou de evaluare (job #1858702)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:56:63: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(v[i].max1-v[i+1].min2>smax||v[i].max1-v[i+1].min2==smax&&v[i].l1+v[i+1].l4>lmax)
^
user.cpp:61:63: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(v[i+1].max2-v[i].min1>smax||v[i+1].max2-v[i].min1==smax&&v[i+1].l3+v[i].l2>lmax)
^
user.cpp:7:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksplit.in","r",stdin);
^
user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksplit.out","w",stdout);
^
user.cpp:9:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:12:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&vc[i]);
^
user.cpp:35:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&vc[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 300kb | OK | 5 |
2 | Depăşit | 3056kb | Time limit exceeded. | 0 |
3 | 12ms | 324kb | OK | 5 |
4 | 56ms | 452kb | OK | 5 |
5 | Depăşit | 508kb | Time limit exceeded. | 0 |
6 | 28ms | 372kb | Incorect | 0 |
7 | Depăşit | 628kb | Time limit exceeded. | 0 |
8 | Depăşit | 628kb | Time limit exceeded. | 0 |
9 | Depăşit | 628kb | Time limit exceeded. | 0 |
10 | Depăşit | 944kb | Time limit exceeded. | 0 |
11 | Depăşit | 2004kb | Time limit exceeded. | 0 |
12 | Depăşit | 948kb | Time limit exceeded. | 0 |
13 | Depăşit | 1300kb | Time limit exceeded. | 0 |
14 | Depăşit | 1644kb | Time limit exceeded. | 0 |
15 | Depăşit | 2000kb | Time limit exceeded. | 0 |
16 | Depăşit | 2352kb | Time limit exceeded. | 0 |
17 | Depăşit | 3404kb | Time limit exceeded. | 0 |
18 | Depăşit | 3752kb | Time limit exceeded. | 0 |
19 | Depăşit | 3756kb | Time limit exceeded. | 0 |
20 | 0ms | 280kb | OK | 5 |
Punctaj total | 20 |